FreeBSD Bugzilla – Attachment 138055 Details for
Bug 183892
Allow multiple value in ${opt}_USE= FOO=bar,baz
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
use_mk_multiple.diff
use_mk_multiple.diff (text/plain), 803 bytes, created by
Mathieu Arnold
on 2013-11-12 12:10:00 UTC
(
hide
)
Description:
use_mk_multiple.diff
Filename:
MIME Type:
Creator:
Mathieu Arnold
Created:
2013-11-12 12:10:00 UTC
Size:
803 bytes
patch
obsolete
>Index: Mk/bsd.options.mk >=================================================================== >--- Mk/bsd.options.mk (revision 333559) >+++ Mk/bsd.options.mk (working copy) >@@ -95,6 +95,8 @@ > # > # ${opt}_USE= FOO=bar When option is enabled, it will enable > # USE_FOO+= bar >+# If you need more than one option, you can do >+# FOO=bar,baz and you'll get USE_FOO=bar baz > # > # For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV > # ALL_TARGET INSTALL_TARGET USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY >@@ -383,7 +385,7 @@ > . if defined(${opt}_USE) > . for option in ${${opt}_USE} > _u= ${option:C/=.*//g} >-USE_${_u:U}+= ${option:C/.*=//g} >+USE_${_u:U}+= ${option:C/.*=//g:C/,/ /g} > . endfor > . endif > . if defined(${opt}_CONFIGURE_ENABLE)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 183892
: 138055