diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-28 16:36:31 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-28 16:36:31 +0000 |
commit | fe837ee6c691d6b779351981a17ce6cacf012498 (patch) | |
tree | aeb03f1aa94222d62e9cdc28c4130adb5b0e5327 /Mk/Uses/gettext.mk | |
parent | Update to 0.10.18. (diff) |
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)
Notes
Notes:
svn path=/head/; revision=369465
Diffstat (limited to 'Mk/Uses/gettext.mk')
-rw-r--r-- | Mk/Uses/gettext.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/gettext.mk b/Mk/Uses/gettext.mk index 5d0ed389577a..383c530f2ca0 100644 --- a/Mk/Uses/gettext.mk +++ b/Mk/Uses/gettext.mk @@ -13,7 +13,7 @@ _INCLUDE_USES_GETTEXT_MK= yes _GETTEXT_DEPENDS= xgettext:${PORTSDIR}/devel/gettext -.if !defined(gettext_ARGS) +.if empty(gettext_ARGS) gettext_ARGS= lib .endif |