FreeBSD Bugzilla – Attachment 151812 Details for
Bug 195817
Mk/bsd.options.mk: ${opt}_USE_OFF is missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
bom.diff (text/plain), 844 bytes, created by
Antoine Brodin
on 2015-01-18 23:06:52 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Antoine Brodin
Created:
2015-01-18 23:06:52 UTC
Size:
844 bytes
patch
obsolete
>Index: Mk/bsd.options.mk >=================================================================== >--- Mk/bsd.options.mk (revision 377347) >+++ Mk/bsd.options.mk (working copy) >@@ -99,6 +99,8 @@ > # USE_FOO+= bar > # If you need more than one option, you can do > # FOO=bar,baz and you'll get USE_FOO=bar baz >+# ${opt}_USE_OFF= FOO=bar When option is disabled, it will enable >+# USE_FOO+= bar > # > # For each of: > # ALL_TARGET CATEGORIES CFLAGS CONFIGURE_ENV CONFLICTS CONFLICTS_BUILD >@@ -460,6 +462,12 @@ > . endif > . endfor > . else >+. if defined(${opt}_USE_OFF) >+. for option in ${${opt}_USE_OFF} >+_u= ${option:C/=.*//g} >+USE_${_u:tu}+= ${option:C/.*=//g:C/,/ /g} >+. endfor >+. endif > . if defined(${opt}_CONFIGURE_ENABLE) > . for iopt in ${${opt}_CONFIGURE_ENABLE} > CONFIGURE_ARGS+= --disable-${iopt:C/=.*//}
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 195817
: 151812