Page MenuHomeFreeBSD

Mk/Uses/php.mk: Flag invalid args
ClosedPublic

Authored by tobik on Mar 29 2019, 11:46 AM.
Tags
None
Referenced Files
F138442752: D19750.id55616.diff
Tue, Dec 2, 5:35 AM
Unknown Object (File)
Mon, Dec 1, 4:36 PM
Unknown Object (File)
Mon, Nov 10, 5:34 AM
Unknown Object (File)
Oct 27 2025, 1:16 AM
Unknown Object (File)
Oct 26 2025, 7:05 PM
Unknown Object (File)
Oct 25 2025, 10:47 AM
Unknown Object (File)
Oct 25 2025, 5:08 AM
Unknown Object (File)
Oct 25 2025, 1:11 AM
Subscribers

Details

Summary

Flag invalid USES=php arguments to avoid mistakes like

USES=		php:filter,gettext

instead of

USES=		php
USE_PHP=	filter gettext
Test Plan

Ran make -V IGNORE over the tree. The following ports had problems (I've already fixed them):

Origin						Invalid USES=php args			Fixed in
net-mgmt/nagiosql				filter gettext mysql session simplexml	rP497106
net-mgmt/glpi-plugins-fusioninventory-server	fileinfo (and simplexml, wddx [1])	rP497107

[1] Those are not flagged since USES=php is included multiple times.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Mk/Uses/php.mk
7 ↗(On Diff #55591)

I don't think "one of" is the correct wording, you can combine a few of them.

tobik marked an inline comment as done.
  • Update "Valid ARGS" comment with missing components
This revision was not accepted when it landed; it landed in state Needs Review.Mar 30 2019, 6:36 PM
This revision was automatically updated to reflect the committed changes.