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/compiler.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/compiler.mk')
-rw-r--r-- | Mk/Uses/compiler.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk index e53bec0cac0e..819e86ec3a4a 100644 --- a/Mk/Uses/compiler.mk +++ b/Mk/Uses/compiler.mk @@ -30,7 +30,7 @@ .if !defined(_INCLUDE_USES_COMPILER_MK) _INCLUDE_USES_COMPILER_MK= yes -.if !defined(compiler_ARGS) +.if empty(compiler_ARGS) compiler_ARGS= env .endif |