Page MenuHomeFreeBSD

D4484.diff
No OneTemporary

D4484.diff

Index: head/Mk/bsd.options.mk
===================================================================
--- head/Mk/bsd.options.mk
+++ head/Mk/bsd.options.mk
@@ -499,14 +499,10 @@
. endfor
. endif
. if defined(${opt}_CONFIGURE_ENABLE)
-. for iopt in ${${opt}_CONFIGURE_ENABLE}
-CONFIGURE_ARGS+= --enable-${iopt}
-. endfor
+CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:C/^/--enable-/}
. endif
. if defined(${opt}_CONFIGURE_WITH)
-. for iopt in ${${opt}_CONFIGURE_WITH}
-CONFIGURE_ARGS+= --with-${iopt}
-. endfor
+CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--with-/}
. endif
. for configure in CONFIGURE CMAKE QMAKE
. if defined(${opt}_${configure}_ON)
@@ -547,14 +543,10 @@
. endfor
. endif
. if defined(${opt}_CONFIGURE_ENABLE)
-. for iopt in ${${opt}_CONFIGURE_ENABLE}
-CONFIGURE_ARGS+= --disable-${iopt:C/=.*//}
-. endfor
+CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--disable-/:C/=.*//}
. endif
. if defined(${opt}_CONFIGURE_WITH)
-. for iopt in ${${opt}_CONFIGURE_WITH}
-CONFIGURE_ARGS+= --without-${iopt:C/=.*//}
-. endfor
+CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--without-/:C/=.*//}
. endif
. for configure in CONFIGURE CMAKE QMAKE
. if defined(${opt}_${configure}_OFF)

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 31, 11:20 PM (6 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27424057
Default Alt Text
D4484.diff (1 KB)

Event Timeline