Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.options.mk
Show First 20 Lines • Show All 486 Lines • ▼ Show 20 Lines | |||||
. if ${_u:M*+} | . if ${_u:M*+} | ||||
${_u:C/.$//:tu}+= ${${opt}_VARS:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/} | ${_u:C/.$//:tu}+= ${${opt}_VARS:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/} | ||||
. else | . else | ||||
${_u:tu}= ${${opt}_VARS:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/} | ${_u:tu}= ${${opt}_VARS:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
. endif | . endif | ||||
. if defined(${opt}_CONFIGURE_ENABLE) | . if defined(${opt}_CONFIGURE_ENABLE) | ||||
. for iopt in ${${opt}_CONFIGURE_ENABLE} | CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:C/^/--enable-/} | ||||
CONFIGURE_ARGS+= --enable-${iopt} | |||||
. endfor | |||||
. endif | . endif | ||||
. if defined(${opt}_CONFIGURE_WITH) | . if defined(${opt}_CONFIGURE_WITH) | ||||
. for iopt in ${${opt}_CONFIGURE_WITH} | CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--with-/} | ||||
CONFIGURE_ARGS+= --with-${iopt} | |||||
. endfor | |||||
. endif | . endif | ||||
. for configure in CONFIGURE CMAKE QMAKE | . for configure in CONFIGURE CMAKE QMAKE | ||||
. if defined(${opt}_${configure}_ON) | . if defined(${opt}_${configure}_ON) | ||||
${configure}_ARGS+= ${${opt}_${configure}_ON} | ${configure}_ARGS+= ${${opt}_${configure}_ON} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
. for flags in ${_OPTIONS_FLAGS} | . for flags in ${_OPTIONS_FLAGS} | ||||
. if defined(${opt}_${flags}) | . if defined(${opt}_${flags}) | ||||
Show All 24 Lines | |||||
. if ${_u:M*+} | . if ${_u:M*+} | ||||
${_u:C/.$//:tu}+= ${${opt}_VARS_OFF:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/} | ${_u:C/.$//:tu}+= ${${opt}_VARS_OFF:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/} | ||||
. else | . else | ||||
${_u:tu}= ${${opt}_VARS_OFF:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/} | ${_u:tu}= ${${opt}_VARS_OFF:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
. endif | . endif | ||||
. if defined(${opt}_CONFIGURE_ENABLE) | . if defined(${opt}_CONFIGURE_ENABLE) | ||||
. for iopt in ${${opt}_CONFIGURE_ENABLE} | CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--disable-/:C/=.*//} | ||||
CONFIGURE_ARGS+= --disable-${iopt:C/=.*//} | |||||
. endfor | |||||
. endif | . endif | ||||
. if defined(${opt}_CONFIGURE_WITH) | . if defined(${opt}_CONFIGURE_WITH) | ||||
. for iopt in ${${opt}_CONFIGURE_WITH} | CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--without-/:C/=.*//} | ||||
CONFIGURE_ARGS+= --without-${iopt:C/=.*//} | |||||
. endfor | |||||
. endif | . endif | ||||
. for configure in CONFIGURE CMAKE QMAKE | . for configure in CONFIGURE CMAKE QMAKE | ||||
. if defined(${opt}_${configure}_OFF) | . if defined(${opt}_${configure}_OFF) | ||||
${configure}_ARGS+= ${${opt}_${configure}_OFF} | ${configure}_ARGS+= ${${opt}_${configure}_OFF} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
. for flags in ${_OPTIONS_FLAGS} | . for flags in ${_OPTIONS_FLAGS} | ||||
. if defined(${opt}_${flags}_OFF) | . if defined(${opt}_${flags}_OFF) | ||||
Show All 18 Lines |