freebsd-ports/Mk/Uses
Tijl Coosemans fe837ee6c6 Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-28 16:36:31 +00:00
..
ada.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
autoreconf.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
bison.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
charsetfix.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
cmake.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
compiler.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
cpe.mk Upate the target_sw field to use ${OPSYS} instead of hardcoding 2014-07-26 13:57:12 +00:00
cran.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
desktop-file-utils.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
desthack.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
display.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
dos2unix.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
drupal.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
execinfo.mk Fix typo. 2014-08-05 07:52:48 +00:00
fam.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
fmake.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
fortran.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
fuse.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
gecko.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
gettext.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
gmake.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
gssapi.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
iconv.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
imake.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
kmod.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
lha.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
libtool.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
lua.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
makeinfo.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
makeself.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
mono.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
motif.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
ncurses.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
ninja.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
objc.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
openal.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
pathfix.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
pear.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
perl5.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
pgsql.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
pkgconfig.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
pure.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
python.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
qmail.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
qmake.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
readline.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
scons.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
shared-mime-info.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
shebangfix.mk Add ksh support to USES=shebangfix 2014-08-18 19:34:46 +00:00
tar.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
tcl.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
tk.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
twisted.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
uidfix.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00
uniquefiles.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
webplugin.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
zip.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
zope.mk Move MAINTAINER lines to the end of the initial comment block and 2014-03-15 10:31:54 +00:00