View | Details | Raw Unified | Return to bug 183892
Collapse All | Expand All

(-)Mk/bsd.options.mk (-1 / +3 lines)
Lines 95-100 Link Here
95
#
95
#
96
# ${opt}_USE=	FOO=bar		When option is enabled, it will  enable
96
# ${opt}_USE=	FOO=bar		When option is enabled, it will  enable
97
#							USE_FOO+= bar
97
#							USE_FOO+= bar
98
#							If you need more than one option, you can do
99
#							FOO=bar,baz and you'll get USE_FOO=bar baz
98
#
100
#
99
# For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV
101
# For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV
100
# ALL_TARGET INSTALL_TARGET USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY
102
# ALL_TARGET INSTALL_TARGET USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY
Lines 383-389 Link Here
383
.    if defined(${opt}_USE)
385
.    if defined(${opt}_USE)
384
.      for option in ${${opt}_USE}
386
.      for option in ${${opt}_USE}
385
_u=		${option:C/=.*//g}
387
_u=		${option:C/=.*//g}
386
USE_${_u:U}+=	${option:C/.*=//g}
388
USE_${_u:U}+=	${option:C/.*=//g:C/,/ /g}
387
.      endfor
389
.      endfor
388
.    endif
390
.    endif
389
.    if defined(${opt}_CONFIGURE_ENABLE)
391
.    if defined(${opt}_CONFIGURE_ENABLE)

Return to bug 183892