FreeBSD Bugzilla – Attachment 147699 Details for
Bug 193931
[exp-run] always define *_ARGS for USES entries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch3
uses.patch (text/plain), 32.84 KB, created by
Tijl Coosemans
on 2014-09-26 15:42:11 UTC
(
hide
)
Description:
patch3
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2014-09-26 15:42:11 UTC
Size:
32.84 KB
patch
obsolete
>Index: Mk/Uses/ada.mk >=================================================================== >--- Mk/Uses/ada.mk (revision 369267) >+++ Mk/Uses/ada.mk (working copy) >@@ -13,7 +13,7 @@ _INCLUDE_USES_ADA_MK= yes > > CC= ada > >-. if defined(ada_ARGS) && ${ada_ARGS} == 47 >+. if ${ada_ARGS} == 47 > BUILD_DEPENDS+= ${LOCALBASE}/gcc47-aux/bin/ada:${PORTSDIR}/lang/gcc47-aux > MAKE_ENV+= PATH=${LOCALBASE}/gcc47-aux/bin:${PATH} > CONFIGURE_ENV+= PATH=${LOCALBASE}/gcc47-aux/bin:${PATH} >Index: Mk/Uses/autoreconf.mk >=================================================================== >--- Mk/Uses/autoreconf.mk (revision 369267) >+++ Mk/Uses/autoreconf.mk (working copy) >@@ -53,7 +53,6 @@ > .if !defined(_INCLUDE_USES_AUTORECONF_MK) > _INCLUDE_USES_AUTORECONF_MK= yes > _USES_POST+= autoreconf >-autoreconf_ARGS:= ${autoreconf_ARGS} > > BUILD_DEPENDS+= autoconf-2.69:${PORTSDIR}/devel/autoconf \ > autoheader-2.69:${PORTSDIR}/devel/autoconf \ >@@ -61,13 +60,11 @@ BUILD_DEPENDS+= autoconf-2.69:${PORTSDIR > aclocal-1.14:${PORTSDIR}/devel/automake \ > automake-1.14:${PORTSDIR}/devel/automake > >-# Depend on autopoint if USES contains gettext* but not gettext:run >-.if ${USES:Mgettext} || (${USES:Mgettext\:*} && empty(USES:Mgettext\:run)) >+.if ${USES:Mgettext} && empty(gettext_ARGS:Mrun) > BUILD_DEPENDS+= autopoint:${PORTSDIR}/devel/gettext > .endif > >-# Depend on libtoolize if USES contains libtool* but not libtool:build >-.if ${USES:Mlibtool} || (${USES:Mlibtool\:*} && empty(USES:Mlibtool\:*build*)) >+.if ${USES:Mlibtool} && empty(libtool_ARGS:Mbuild) > BUILD_DEPENDS+= libtoolize:${PORTSDIR}/devel/libtool > .endif > >Index: Mk/Uses/bison.mk >=================================================================== >--- Mk/Uses/bison.mk (revision 369267) >+++ Mk/Uses/bison.mk (working copy) >@@ -13,7 +13,7 @@ _INCLUDE_USES_BISON_MK= yes > > _BISON_DEPENDS= bison:${PORTSDIR}/devel/bison > >-.if !defined(bison_ARGS) >+.if empty(bison_ARGS) > bison_ARGS= build > .endif > >Index: Mk/Uses/charsetfix.mk >=================================================================== >--- Mk/Uses/charsetfix.mk (revision 369267) >+++ Mk/Uses/charsetfix.mk (working copy) >@@ -11,7 +11,7 @@ > .if !defined(_INCLUDE_USES_CHARSETFIX_MK) > _INCLUDE_USES_CHARSETFIX_MK= yes > >-.if defined(charsetfix_ARGS) >+.if !empty(charsetfix_ARGS) > IGNORE= USES=charsetfix does not require args > .endif > >Index: Mk/Uses/cmake.mk >=================================================================== >--- Mk/Uses/cmake.mk (revision 369267) >+++ Mk/Uses/cmake.mk (working copy) >@@ -41,21 +41,18 @@ > _INCLUDE_USES_CMAKE_MK= yes > > _valid_ARGS= outsource run >-_cmake_ARGS= ${cmake_ARGS:C/\:/ /g} > > # Sanity check >-.if defined(cmake_ARGS) >-. for arg in ${_cmake_ARGS} >+.for arg in ${cmake_ARGS} > . if empty(_valid_ARGS:M${arg}) > IGNORE= Incorrect 'USES+= cmake:${cmake_ARGS}' usage: argument [${arg}] is not recognized > . endif >-. endfor >-.endif >+.endfor > > CMAKE_BIN= ${LOCALBASE}/bin/cmake > BUILD_DEPENDS+= ${CMAKE_BIN}:${PORTSDIR}/devel/cmake > >-.if ${_cmake_ARGS:Mrun} >+.if ${cmake_ARGS:Mrun} > RUN_DEPENDS+= ${CMAKE_BIN}:${PORTSDIR}/devel/cmake > .endif > >@@ -109,7 +106,7 @@ CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOO > _CMAKE_MSG= "===> Performing in-source build" > CMAKE_SOURCE_PATH?= ${WRKSRC} > >-.if ${_cmake_ARGS:Moutsource} >+.if ${cmake_ARGS:Moutsource} > _CMAKE_MSG= "===> Performing out-of-source build" > CONFIGURE_WRKSRC= ${WRKDIR}/.build > BUILD_WRKSRC= ${CONFIGURE_WRKSRC} >Index: Mk/Uses/compiler.mk >=================================================================== >--- Mk/Uses/compiler.mk (revision 369267) >+++ Mk/Uses/compiler.mk (working copy) >@@ -30,7 +30,7 @@ > .if !defined(_INCLUDE_USES_COMPILER_MK) > _INCLUDE_USES_COMPILER_MK= yes > >-.if !defined(compiler_ARGS) >+.if empty(compiler_ARGS) > compiler_ARGS= env > .endif > >Index: Mk/Uses/cran.mk >=================================================================== >--- Mk/Uses/cran.mk (revision 369267) >+++ Mk/Uses/cran.mk (working copy) >@@ -13,8 +13,6 @@ > .if !defined(_INCLUDE_USES_CRAN_MK) > _INCLUDE_USES_CRAN_MK= yes > >-VALID_ARGS= auto-plist >- > MASTER_SITE_CRAN+= http://ftp.ctex.org/mirrors/CRAN/src/contrib/ \ > http://cran.rakanu.com/src/contrib/ \ > http://cran.ms.unimelb.edu.au/src/contrib/ \ >@@ -30,7 +28,6 @@ MASTER_SITE_CRAN_ARCHIVE+= ${MASTER_SITE > > MASTER_SITES?= ${MASTER_SITE_CRAN} ${MASTER_SITE_CRAN_ARCHIVE} > >-USES+= fortran > BUILD_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R > RUN_DEPENDS+= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R > >Index: Mk/Uses/desktop-file-utils.mk >=================================================================== >--- Mk/Uses/desktop-file-utils.mk (revision 369267) >+++ Mk/Uses/desktop-file-utils.mk (working copy) >@@ -11,7 +11,7 @@ > .if !defined(_INCLUDE_USES_DESKTOP_FILE_UTILS_MK) > _INCLUDE_USES_DESKTOP_FILE_UTILS_MK= yes > >-.if defined(desktop-file-utils_ARGS) >+.if !empty(desktop-file-utils_ARGS) > IGNORE= USES=desktop-file-utils does not require args > .endif > >Index: Mk/Uses/desthack.mk >=================================================================== >--- Mk/Uses/desthack.mk (revision 369267) >+++ Mk/Uses/desthack.mk (working copy) >@@ -11,7 +11,7 @@ > .if !defined(_INCLUDE_USES_DESTHACK_MK) > _INCLUDE_USES_DESTHACK_MK= yes > >-.if defined(_desthack_ARGS) >+.if !empty(desthack_ARGS) > IGNORE= USES=desthack does not require args > .endif > >Index: Mk/Uses/display.mk >=================================================================== >--- Mk/Uses/display.mk (revision 369267) >+++ Mk/Uses/display.mk (working copy) >@@ -11,7 +11,9 @@ > .if !defined(_INCLUDE_USES_DISPLAY_MK) > _INCLUDE_USES_DISPLAY_MK= yes > >-display_ARGS?= install >+.if empty(display_ARGS) >+display_ARGS= install >+.endif > > .if !defined(DISPLAY) > BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver \ >Index: Mk/Uses/drupal.mk >=================================================================== >--- Mk/Uses/drupal.mk (revision 369267) >+++ Mk/Uses/drupal.mk (working copy) >@@ -13,25 +13,23 @@ > .if !defined(_INCLUDE_USES_DRUPAL_Mk) > _INCLUDE_USES_DRUPAL_Mk= yes > >-_drupal_ARGS= ${drupal_ARGS:S/,/ /g} >- >-.if ${_drupal_ARGS:M[67]} >-_DRUPAL_VERSION= ${_drupal_ARGS:M[67]} >+.if ${drupal_ARGS:M[67]} >+_DRUPAL_VERSION= ${drupal_ARGS:M[67]} > .endif > > VALID_VERSIONS= 6 7 > >-.if ${_drupal_ARGS:N[67]:Ntheme:Nmodule} >-IGNORE= Unknown argument for USES=drupal: ${_drupal_ARGS:N[67]:Ntheme:Nmodule} >+.if ${drupal_ARGS:N[67]:Ntheme:Nmodule} >+IGNORE= Unknown argument for USES=drupal: ${drupal_ARGS:N[67]:Ntheme:Nmodule} > .endif > >-_DRUPAL_COMP= ${_drupal_ARGS:N[67]} >+_DRUPAL_COMP= ${drupal_ARGS:N[67]} > > .if !defined(_DRUPAL_VERSION) || ! ${VALID_VERSIONS:M${_DRUPAL_VERSION}} > IGNORE= Missing or invalid argument for USES=drupal, a version must be provided: ${VALID_VERSIONS} > .endif > >-.if ${_drupal_ARGS:Mmodule} && ${_drupal_ARGS:Mtheme} >+.if ${drupal_ARGS:Mmodule} && ${drupal_ARGS:Mtheme} > IGNORE= theme and module arguments are mutually exclusive for USES=drupal > .endif > >Index: Mk/Uses/fam.mk >=================================================================== >--- Mk/Uses/fam.mk (revision 369267) >+++ Mk/Uses/fam.mk (working copy) >@@ -32,7 +32,7 @@ _HAVE_FAM= fam > IGNORE= FAM mismatch: ${_HAVE_FAM} is installed, but ${WITH_FAM_SYSTEM} desired > .endif > >-.if defined(fam_ARGS) >+.if !empty(fam_ARGS) > .for _fam_ARGS in ${fam_ARGS} > . if ! ${_FAM_SYSTEMS:M${_fam_ARGS}} > IGNORE= Incorrect 'USES+= fam:${fam_ARGS}' usage: argument [${_fam_ARGS}] is not recognized >Index: Mk/Uses/fmake.mk >=================================================================== >--- Mk/Uses/fmake.mk (revision 369267) >+++ Mk/Uses/fmake.mk (working copy) >@@ -10,7 +10,7 @@ > .if !defined(_INCLUDE_USES_FMAKE_MK) > _INCLUDE_USES_FMAKE_MK= yes > >-.if defined(fmake_ARGS) >+.if !empty(fmake_ARGS) > IGNORE= Incorrect 'USES+= fmake:${fmake_ARGS}' fmake takes no arguments > .endif > >Index: Mk/Uses/fortran.mk >=================================================================== >--- Mk/Uses/fortran.mk (revision 369267) >+++ Mk/Uses/fortran.mk (working copy) >@@ -11,7 +11,7 @@ > .if !defined(_INCLUDE_USES_FORTRAN_MK) > _INCLUDE_USES_FORTRAN_MK= yes > >-.if !defined(fortran_ARGS) >+.if empty(fortran_ARGS) > fortran_ARGS= gcc > .endif > >Index: Mk/Uses/fuse.mk >=================================================================== >--- Mk/Uses/fuse.mk (revision 369267) >+++ Mk/Uses/fuse.mk (working copy) >@@ -11,7 +11,7 @@ > .if !defined(_INCLUDE_USES_FUSE_MK) > _INCLUDE_USES_FUSE_MK= yes > >-.if defined(fuse_ARGS) >+.if !empty(fuse_ARGS) > IGNORE= USES=fuse does not require args > .endif > >Index: Mk/Uses/gecko.mk >=================================================================== >--- Mk/Uses/gecko.mk (revision 369267) >+++ Mk/Uses/gecko.mk (working copy) >@@ -18,15 +18,13 @@ > .if !defined(_INCLUDE_USES_GECKO_MK) > _INCLUDE_USES_GECKO_MK= yes > >-.if !defined(gecko_ARGS) >-_GECKO_ARGS= libxul >-.else >-_GECKO_ARGS= ${gecko_ARGS:S/,/ /g} >+.if empty(gecko_ARGS) >+gecko_ARGS= libxul > .endif > >-_GECKO_VERSION= ${_GECKO_ARGS:M[0-9][0-9]*} >+_GECKO_VERSION= ${gecko_ARGS:M[0-9][0-9]*} > >-.if ${_GECKO_ARGS:Mlibxul} >+.if ${gecko_ARGS:Mlibxul} > # Compat with older versions > GECKO= libxul > GECKO_CONFING?= ${LOCALBASE}/bin/${GECKO}-config >@@ -36,7 +34,7 @@ XPIDL_INCL?= `${GECKO_CONFIG} --idlflags > BUILD_DEPENDS+= libxul>=24:${PORTSDIR}/www/libxul > RUN_DEPENDS+= libxul>=24:${PORTSDIR}/www/libxul > >-.elif ${_GECKO_ARGS:Mfirefox} >+.elif ${gecko_ARGS:Mfirefox} > > _GECKO_DEFAULT_VERSION= 31 > _GECKO_VERSIONS= 31 32 >@@ -51,7 +49,7 @@ _GECKO_INSTALLED_VER!= ${LOCALBASE}/bin/ > _GECKO_INSTALLED_VER:= ${_GECKO_INSTALLED_VER:M[0-9][0-9]*:C/([0-9][0-9]).*/\1/g} > .endif > >-.elif ${_GECKO_ARGS:Mseamonkey} >+.elif ${gecko_ARGS:Mseamonkey} > > _GECKO_DEFAULT_VERSION= 29 > _GECKO_VERSIONS= 29 >@@ -65,7 +63,7 @@ _GECKO_INSTALLED_VER:= ${_GECKO_INSTALLE > # Dependence lines for different Seamonkey versions > 29_DEPENDS= ${LOCALBASE}/lib/seamonkey/seamonkey:${PORTSDIR}/www/seamonkey > >-.elif ${_GECKO_ARGS:Mthunderbird} >+.elif ${gecko_ARGS:Mthunderbird} > > _GECKO_DEFAULT_VERSION= 31 > _GECKO_VERSIONS= 31 >@@ -119,7 +117,7 @@ _GECKO_WANTED_VERSION:= ${_GECKO_HIGHEST > .endif > > >-.if ${_GECKO_ARGS:Mbuild} >+.if ${gecko_ARGS:Mbuild} > BUILD_DEPENDS+= ${${_GECKO_WANTED_VERSION}_DEPENDS} > .endif > RUN_DEPENDS+= ${${_GECKO_WANTED_VERSION}_DEPENDS} >Index: Mk/Uses/gettext.mk >=================================================================== >--- Mk/Uses/gettext.mk (revision 369267) >+++ Mk/Uses/gettext.mk (working copy) >@@ -13,7 +13,7 @@ _INCLUDE_USES_GETTEXT_MK= yes > > _GETTEXT_DEPENDS= xgettext:${PORTSDIR}/devel/gettext > >-.if !defined(gettext_ARGS) >+.if empty(gettext_ARGS) > gettext_ARGS= lib > .endif > >Index: Mk/Uses/gmake.mk >=================================================================== >--- Mk/Uses/gmake.mk (revision 369267) >+++ Mk/Uses/gmake.mk (working copy) >@@ -10,7 +10,7 @@ > .if !defined(_INCLUDE_USES_GMAKE_MK) > _INCLUDE_USES_GMAKE_MK= yes > >-.if defined(gmake_ARGS) >+.if !empty(gmake_ARGS) > .if ${gmake_ARGS} == lite > _GMAKE_EXT= -lite > .else >Index: Mk/Uses/gssapi.mk >=================================================================== >--- Mk/Uses/gssapi.mk (revision 369267) >+++ Mk/Uses/gssapi.mk (working copy) >@@ -81,8 +81,10 @@ _HEIMDAL_DEPENDS=${GSSAPILIBDIR}/libgssa > _MITKRB5_DEPENDS=${GSSAPILIBDIR}/libkrb5support.so:${PORTSDIR}/security/krb5 > _HEADERS= sys/types.h sys/stat.h stdint.h > >-gssapi_ARGS?= base >-.for _A in ${gssapi_ARGS:S/,/ /g} >+.if empty(gssapi_ARGS) >+gssapi_ARGS= base >+.endif >+.for _A in ${gssapi_ARGS} > _local:= ${_A} > .if ${_local} == "base" > HEIMDAL_HOME= /usr >Index: Mk/Uses/iconv.mk >=================================================================== >--- Mk/Uses/iconv.mk (revision 369267) >+++ Mk/Uses/iconv.mk (working copy) >@@ -13,8 +13,6 @@ > .if !defined(_INCLUDE_USES_ICONV_MK) > _INCLUDE_USES_ICONV_MK= yes > >-iconv_ARGS:= ${iconv_ARGS:S/,/ /g} >- > .if !exists(/usr/include/iconv.h) || ${iconv_ARGS:Mwchar_t} || ${iconv_ARGS:Mtranslit} > > ICONV_CMD= ${LOCALBASE}/bin/iconv >Index: Mk/Uses/imake.mk >=================================================================== >--- Mk/Uses/imake.mk (revision 369267) >+++ Mk/Uses/imake.mk (working copy) >@@ -14,14 +14,9 @@ > .if !defined(_INCLUDE_USES_IMAKE_MK) > _INCLUDE_USES_IMAKE_MK= yes > >-.if defined(imake_ARGS) >-imake_ARGS:= ${imake_ARGS:S/,/ /g} > .if ${imake_ARGS:Nnotall:Nenv:Nnoman} > IGNORE= USES=imake:${imake_ARGS:S/ /,/g} is not a valid argument > .endif >-.else >-imake_ARGS= >-.endif > > BUILD_DEPENDS+= imake:${PORTSDIR}/devel/imake > >Index: Mk/Uses/kmod.mk >=================================================================== >--- Mk/Uses/kmod.mk (revision 369267) >+++ Mk/Uses/kmod.mk (working copy) >@@ -13,7 +13,7 @@ _INCLUDE_USES_KMOD_MK= yes > > _USES_POST+= kmod > >-.if defined(kmod_ARGS) >+.if !empty(kmod_ARGS) > IGNORE= USES=kmod takes no arguments > .endif > >Index: Mk/Uses/lha.mk >=================================================================== >--- Mk/Uses/lha.mk (revision 369267) >+++ Mk/Uses/lha.mk (working copy) >@@ -10,7 +10,7 @@ _INCLUDE_USES_LHA_MK= yes > > EXTRACT_SUFX?= .lzh > >-.if defined(lha_ARGS) >+.if !empty(lha_ARGS) > IGNORE= Incorrect 'USES+=lha:${lha_ARGS}' expecting 'USES+=lha' > .endif > >Index: Mk/Uses/libtool.mk >=================================================================== >--- Mk/Uses/libtool.mk (revision 369267) >+++ Mk/Uses/libtool.mk (working copy) >@@ -16,7 +16,6 @@ > .if !defined(_INCLUDE_USES_LIBTOOL_MK) > _INCLUDE_USES_LIBTOOL_MK= yes > _USES_POST+= libtool >-libtool_ARGS:= ${libtool_ARGS:C/,/ /} > > .if ${libtool_ARGS:Mbuild} > BUILD_DEPENDS+= libtool:${PORTSDIR}/devel/libtool >Index: Mk/Uses/lua.mk >=================================================================== >--- Mk/Uses/lua.mk (revision 369267) >+++ Mk/Uses/lua.mk (working copy) >@@ -15,21 +15,19 @@ _LUA_DEFAULT_VERSION= ${LUA_DEFAULT:S/./ > IGNORE= Invalid lua version ${LUA_DEFAULT} > .endif > >-_LUA_ARGS= ${lua_ARGS:S/,/ /g} >- > # > # Parse a ver+ argument > # >-.if ${_LUA_ARGS:M*+} >-_LUA_MIN_VERSION:= ${_LUA_ARGS:M*+:S/+//} >+.if ${lua_ARGS:M*+} >+_LUA_MIN_VERSION:= ${lua_ARGS:M*+:S/+//} > _LUA_WANTED_VERSION:= ${_LUA_DEFAULT_VERSION} > .endif > > # > # Parse one or more ver arguments > # >-.if ${_LUA_ARGS:M5[1-2]} >-_LUA_WANTED_VERSIONS:= ${_LUA_ARGS:M5[1-2]} >+.if ${lua_ARGS:M5[1-2]} >+_LUA_WANTED_VERSIONS:= ${lua_ARGS:M5[1-2]} > .endif > > # >@@ -95,9 +93,9 @@ MAKE_ENV+= LUA_MODLIBDIR=${LUA_MODLIBDIR > LUA_INCDIR=${LUA_INCDIR} \ > LUA_LIBDIR=${LUA_LIBDIR} > >-.if ${_LUA_ARGS:Mbuild} >+.if ${lua_ARGS:Mbuild} > BUILD_DEPENDS+= ${LUA_CMD}:${PORTSDIR}/lang/lua${LUA_VER_STR} >-.elfif ${_LUA_ARGS:Mrun} >+.elfif ${lua_ARGS:Mrun} > RUN_DEPENDS+= ${LUA_CMD}:${PORTSDIR}/lang/lua${LUA_VER_STR} > .else > LIB_DEPENDS+= liblua-${LUA_VER}.so:${PORTSDIR}/lang/lua${LUA_VER_STR} >Index: Mk/Uses/makeinfo.mk >=================================================================== >--- Mk/Uses/makeinfo.mk (revision 369267) >+++ Mk/Uses/makeinfo.mk (working copy) >@@ -11,7 +11,7 @@ > .if !defined(_INCLUDE_USES_MAKEINFO_MK) > _INCLUDE_USES_MAKEINFO_MK= yes > >-.if defined(makeinfo_ARGS) >+.if !empty(makeinfo_ARGS) > IGNORE= USES=makeinfo - expects no arguments > .endif > >Index: Mk/Uses/makeself.mk >=================================================================== >--- Mk/Uses/makeself.mk (revision 369267) >+++ Mk/Uses/makeself.mk (working copy) >@@ -10,7 +10,7 @@ > .if !defined(_INCLUDE_USES_MAKESELF_Mk) > _INCLUDE_USES_MAKESELF_MK= yes > >-.if defined(makeself_ARGS) >+.if !empty(makeself_ARGS) > IGNORE= Incorrect 'USES+= makeself:${makeself_ARGS}' makeself takes no arguments > .endif > >Index: Mk/Uses/mono.mk >=================================================================== >--- Mk/Uses/mono.mk (revision 369267) >+++ Mk/Uses/mono.mk (working copy) >@@ -10,7 +10,7 @@ > .if !defined(_INCLUDE_USES_MONO_MK) > _INCLUDE_USES_MONO_MK= yes > >-.if defined(mono_ARGS) >+.if !empty(mono_ARGS) > IGNORE= USES=mono takes no arguments > .endif > >Index: Mk/Uses/motif.mk >=================================================================== >--- Mk/Uses/motif.mk (revision 369267) >+++ Mk/Uses/motif.mk (working copy) >@@ -13,7 +13,7 @@ > .if !defined(_INCLUDE_USES_MOTIF_MK) > _INCLUDE_USES_MOTIF_MK= yes > >-.if defined(motif_ARGS) >+.if !empty(motif_ARGS) > IGNORE= USES=motif takes no arguments > .endif > >Index: Mk/Uses/ncurses.mk >=================================================================== >--- Mk/Uses/ncurses.mk (revision 369267) >+++ Mk/Uses/ncurses.mk (working copy) >@@ -26,11 +26,12 @@ > .if !defined(_INCLUDE_USES_NCURSES_MK) > _INCLUDE_USES_NCURSES_MK= yes > >-.if !defined(ncurses_ARGS) >+.if empty(ncurses_ARGS) > . if !exists(${DESTDIR}/${LOCALBASE}/lib/libncurses.so) && exists(${DESTDIR}/usr/include/ncurses.h) > ncurses_ARGS= base >+. else >+ncurses_ARGS= port > . endif >-ncurses_ARGS?= port > .endif > > .if ${ncurses_ARGS} == base >Index: Mk/Uses/ninja.mk >=================================================================== >--- Mk/Uses/ninja.mk (revision 369267) >+++ Mk/Uses/ninja.mk (working copy) >@@ -13,7 +13,7 @@ > .if !defined(_INCLUDE_USES_NINJA_MK) > _INCLUDE_USES_NINJA_MK= yes > >-.if defined(ninja_ARGS) >+.if !empty(ninja_ARGS) > IGNORE= Incorrect 'USES+= ninja:${ninja_ARGS}' ninja takes no arguments > .endif > >Index: Mk/Uses/objc.mk >=================================================================== >--- Mk/Uses/objc.mk (revision 369267) >+++ Mk/Uses/objc.mk (working copy) >@@ -10,7 +10,7 @@ > .if !defined(_INCLUDE_USES_OBJC_MK) > _INCLUDE_USES_OBJC_MK= yes > >-.if defined(objc_ARGS) >+.if !empty(objc_ARGS) > IGNORE= USES=objc takes no arguments > .endif > >Index: Mk/Uses/openal.mk >=================================================================== >--- Mk/Uses/openal.mk (revision 369267) >+++ Mk/Uses/openal.mk (working copy) >@@ -16,7 +16,6 @@ > _INCLUDE_USES_OPENAL_MK= yes > > _valid_ARGS= al si soft alut >-_openal_ARGS= ${openal_ARGS:C/,/ /g} > > _si_DEPENDS= libopenal.so.0:${PORTSDIR}/audio/openal > _soft_DEPENDS= libopenal.so.1:${PORTSDIR}/audio/openal-soft >@@ -32,8 +31,8 @@ _HAVE_OPENAL= soft > .endif > > # Be friendly >-.if ! defined(openal_ARGS) >-_openal_ARGS= ${_DEFAULT_OPENAL} >+.if empty(openal_ARGS) >+openal_ARGS= ${_DEFAULT_OPENAL} > .endif > > # Sanity checks >@@ -41,12 +40,11 @@ _openal_ARGS= ${_DEFAULT_OPENAL} > IGNORE= OpenAL mismatch: ${_HAVE_OPENAL} is installed, but ${WANT_OPENAL} desired > .endif > >-.if defined(_openal_ARGS) >-. for _arg in ${_openal_ARGS} >+.for _arg in ${openal_ARGS} > . if ! ${_valid_ARGS:M${_arg}} > IGNORE= Incorrect 'USES+= openal:${openal_ARGS}' usage: argument [${_arg}] is not recognized > . endif >-. if ${_OPENAL_LIBS:M${_arg}} && ${_openal_ARGS:Mal} >+. if ${_OPENAL_LIBS:M${_arg}} && ${openal_ARGS:Mal} > IGNORE= Incorrect 'USES+= openal:${openal_ARGS}' usage: argument [${_arg}] cannot be used together with al > . endif > . if ${_OPENAL_LIBS:M${_arg}} && defined(_HAVE_OPENAL) && ${_HAVE_OPENAL} != ${_arg} >@@ -57,18 +55,17 @@ IGNORE= OpenAL mismatch: port wants to u > . endif > . if ${_OPENAL_LIBS:M${_arg}} > . for _carg in ${_OPENAL_LIBS:N${_arg}} >-. if ${_openal_ARGS:M${_carg}} >+. if ${openal_ARGS:M${_carg}} > IGNORE= Incorrect 'USES+= openal:${openal_ARGS}' usage: arguments [${_arg}] and [${_carg}] cannot be used together > . endif > . endfor > . endif >-. endfor >-.endif >+.endfor > > # Proceed > _USE_OPENAL= > >-.if ${_openal_ARGS:Mal} >+.if ${openal_ARGS:Mal} > .if defined(_HAVE_OPENAL) > _USE_OPENAL= ${_HAVE_OPENAL} > .elif defined(WANT_OPENAL) >@@ -78,7 +75,7 @@ _USE_OPENAL= ${_DEFAULT_OPENAL} > .endif > .endif > >-.for _arg in ${_openal_ARGS:Nal} >+.for _arg in ${openal_ARGS:Nal} > _USE_OPENAL+= ${_arg} > .endfor > >Index: Mk/Uses/pathfix.mk >=================================================================== >--- Mk/Uses/pathfix.mk (revision 369267) >+++ Mk/Uses/pathfix.mk (working copy) >@@ -12,7 +12,7 @@ > .if !defined(_INCLUDE_USES_PATHFIX_MK) > _INCLUDE_USES_PATHFIX_MK= yes > >-.if defined(pathfix_ARGS) >+.if !empty(pathfix_ARGS) > IGNORE= USES=pathfix does not require args > .endif > >Index: Mk/Uses/pear.mk >=================================================================== >--- Mk/Uses/pear.mk (revision 369267) >+++ Mk/Uses/pear.mk (working copy) >@@ -12,7 +12,7 @@ > _INCLUDE_USES_PEAR_MK= yes > _USES_POST+= pear > >-.if defined(pear_ARGS) >+.if !empty(pear_ARGS) > IGNORE+= USES=pear takes not arguments > .endif > >Index: Mk/Uses/perl5.mk >=================================================================== >--- Mk/Uses/perl5.mk (revision 369267) >+++ Mk/Uses/perl5.mk (working copy) >@@ -36,7 +36,7 @@ > .if !defined(_INCLUDE_USES_PERL5_MK) > _INCLUDE_USES_PERL5_MK= yes > >-.if defined(perl5_ARGS) >+.if !empty(perl5_ARGS) > IGNORE= Incorrect 'USES+=perl5:${perl5_ARGS}' perl5 takes no arguments > .endif > >Index: Mk/Uses/pgsql.mk >=================================================================== >--- Mk/Uses/pgsql.mk (revision 369267) >+++ Mk/Uses/pgsql.mk (working copy) >@@ -67,7 +67,7 @@ _PGSQL_VER!= ${PG_CONFIG} --version | ${ > . endif > > # Handle the + and - version stuff >-. if defined(pgsql_ARGS) >+. if !empty(pgsql_ARGS) > . if ${pgsql_ARGS:M*+} > . for version in ${VALID_PGSQL_VER} > . if ${pgsql_ARGS:S/+//} <= ${version} >Index: Mk/Uses/pkgconfig.mk >=================================================================== >--- Mk/Uses/pkgconfig.mk (revision 369267) >+++ Mk/Uses/pkgconfig.mk (working copy) >@@ -13,7 +13,7 @@ _INCLUDE_USES_PKGCONFIG_MK= yes > > _PKGCONFIG_DEPENDS= pkgconf:${PORTSDIR}/devel/pkgconf > >-.if !defined(pkgconfig_ARGS) >+.if empty(pkgconfig_ARGS) > pkgconfig_ARGS= build > .endif > >Index: Mk/Uses/pure.mk >=================================================================== >--- Mk/Uses/pure.mk (revision 369267) >+++ Mk/Uses/pure.mk (working copy) >@@ -15,21 +15,18 @@ > _INCLUDE_USES_PURE_MK= yes > > _valid_ARGS= ffi >-_pure_ARGS= ${pure_ARGS:C/\:/ /g} > > # Sanity check >-.if defined(pure_ARGS) >-. for arg in ${_pure_ARGS} >+.for arg in ${pure_ARGS} > . if empty(_valid_ARGS:M${arg}) > IGNORE= Incorrect 'USES+= pure:${pure_ARGS}' usage: argument [${arg}] is not recognized > . endif >-. endfor >-.endif >+.endfor > > LIB_DEPENDS+= libpure.so:${PORTSDIR}/lang/pure > .include "${USESDIR}/gmake.mk" > >-.if ${_pure_ARGS:Mffi} >+.if ${pure_ARGS:Mffi} > RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi > .endif > >Index: Mk/Uses/python.mk >=================================================================== >--- Mk/Uses/python.mk (revision 369267) >+++ Mk/Uses/python.mk (working copy) >@@ -237,11 +237,6 @@ _PYTHON_PORTBRANCH= 2.7 # ${_PYTHON_VE > _PYTHON_BASECMD= ${LOCALBASE}/bin/python > _PYTHON_RELPORTDIR= ${PORTSDIR}/lang/python > >-# Check the passed arguments >-.if !defined(python_ARGS) >-python_ARGS= #empty >-.endif >- > # COMPAT KNOBS, remove them, once the tree is cleaned > .undef _PY_COMPAT_OLD > # We will reuse USE_PYTHON with a different meaning, so make sure that, while >Index: Mk/Uses/qmail.mk >=================================================================== >--- Mk/Uses/qmail.mk (revision 369267) >+++ Mk/Uses/qmail.mk (working copy) >@@ -20,7 +20,7 @@ _INCLUDE_QMAIL_MK= yes > > QMAIL_PREFIX?= /var/qmail > >-.if !defined(qmail_ARGS) >+.if empty(qmail_ARGS) > qmail_ARGS= both > .endif > >Index: Mk/Uses/qmake.mk >=================================================================== >--- Mk/Uses/qmake.mk (revision 369267) >+++ Mk/Uses/qmake.mk (working copy) >@@ -38,17 +38,14 @@ IGNORE= 'USES+= qmake' must be accompani > # targets (currently, only qmake-configure), without qmake being added to the > # configure stage. > _VALID_ARGS= norecursive outsource _env >-_qmake_ARGS= ${qmake_ARGS:S/\:/ /g} > >-.if defined(qmake_ARGS) >-. for arg in ${_qmake_ARGS} >+.for arg in ${qmake_ARGS} > . if empty(_VALID_ARGS:M${arg}) > IGNORE= Incorrect 'USES+= qmake' usage: argument '${arg}' is not recognized > . endif >-. endfor >-.endif >+.endfor > >-.if ! ${_qmake_ARGS:M_env} >+.if ! ${qmake_ARGS:M_env} > USE_QT${_QT_VERSION:R:R}+= qmake_build > .endif > >@@ -76,7 +73,7 @@ QMAKE_ARGS+= CONFIG+="release" \ > .endif # defined(WITH_DEBUG) > > # We set -recursive by default to keep qmake from running in the build stage. >-.if ! ${_qmake_ARGS:Mnorecursive} >+.if ! ${qmake_ARGS:Mnorecursive} > QMAKE_ARGS+= -recursive > .endif > >@@ -88,7 +85,7 @@ QMAKE_ARGS+= -d > # use it for both qtbase and USES=qmake ports. They are private, not supposed to > # be used anywhere else. > _QMAKE_WRKSRC?= ${CONFIGURE_WRKSRC} >-.if ${_qmake_ARGS:Moutsource} >+.if ${qmake_ARGS:Moutsource} > CONFIGURE_WRKSRC= ${WRKDIR}/.build > BUILD_WRKSRC= ${CONFIGURE_WRKSRC} > INSTALL_WRKSRC= ${BUILD_WRKSRC} >@@ -97,7 +94,7 @@ QMAKE_SOURCE_PATH?= ${WRKSRC} > QMAKE_SOURCE_PATH?= # empty > .endif > >-.if ! ${_qmake_ARGS:M_env} >+.if ! ${qmake_ARGS:M_env} > DESTDIRNAME= INSTALL_ROOT > .endif > >@@ -108,7 +105,7 @@ qmake-configure: > @cd ${_QMAKE_WRKSRC} && \ > ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${QMAKE_SOURCE_PATH} > >-.if !target(do-configure) && ! ${_qmake_ARGS:M_env} >+.if !target(do-configure) && ! ${qmake_ARGS:M_env} > do-configure: qmake-configure > @${DO_NADA} > .endif >Index: Mk/Uses/readline.mk >=================================================================== >--- Mk/Uses/readline.mk (revision 369267) >+++ Mk/Uses/readline.mk (working copy) >@@ -15,7 +15,7 @@ _INCLUDE_USES_READLINE_MK= yes > readline_ARGS= port > .endif > >-.if defined(readline_ARGS) && ${readline_ARGS} == port >+.if ${readline_ARGS} == port > LIB_DEPENDS+= libreadline.so.6:${PORTSDIR}/devel/readline > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib >Index: Mk/Uses/scons.mk >=================================================================== >--- Mk/Uses/scons.mk (revision 369267) >+++ Mk/Uses/scons.mk (working copy) >@@ -10,7 +10,7 @@ > .if !defined(_INCLUDE_USES_SCONS_MK) > _INCLUDE_USES_SCONS_MK= yes > >-.if defined(scons_ARGS) >+.if !empty(scons_ARGS) > IGNORE= Incorrect 'USES+= scons:${scons_ARGS}' scons takes no arguments > .endif > >Index: Mk/Uses/shared-mime-info.mk >=================================================================== >--- Mk/Uses/shared-mime-info.mk (revision 369267) >+++ Mk/Uses/shared-mime-info.mk (working copy) >@@ -11,7 +11,7 @@ > .if !defined(_INCLUDE_USES_SHARED_MIME_INFO_MK) > _INCLUDE_USES_SHARED_MIME_INFO_MK= yes > >-.if defined(shared-mime-info_ARGS) >+.if !empty(shared-mime-info_ARGS) > IGNORE= USES=shared-mime-info does not require args > .endif > >Index: Mk/Uses/tar.mk >=================================================================== >--- Mk/Uses/tar.mk (revision 369267) >+++ Mk/Uses/tar.mk (working copy) >@@ -10,8 +10,6 @@ > .if !defined(_INCLUDE_USES_TAR_MK) > _INCLUDE_USES_TAR_MK= yes > >-tar_ARGS?= none >- > .if ${tar_ARGS} == xz > EXTRACT_SUFX?= .tar.xz > .elif ${tar_ARGS} == lzma >@@ -26,7 +24,7 @@ EXTRACT_SUFX?= .tgz > EXTRACT_SUFX?= .tbz > .elif ${tar_ARGS} == Z > EXTRACT_SUFX?= .tar.Z >-.elif ${tar_ARGS} == none >+.elif empty(tar_ARGS) > EXTRACT_SUFX?= .tar > .else > IGNORE= Incorrect 'USES+=tar:${tar_ARGS}' >Index: Mk/Uses/tcl.mk >=================================================================== >--- Mk/Uses/tcl.mk (revision 369267) >+++ Mk/Uses/tcl.mk (working copy) >@@ -86,29 +86,24 @@ IGNORE= Invalid tcltk version ${TCLTK_DE > _TCLTK_PORT?= tcl > > # >-# Build a make(1)-friendly list of arguments (i.e., space separated). >-# >-_TCL_ARGS= ${tcl_ARGS:S/,/ /g} >- >-# > # Parse a ver+ argument. > # >-.if ${_TCL_ARGS:M*+} >-_TCLTK_MIN_VERSION:= ${_TCL_ARGS:M*+:S/+//} >+.if ${tcl_ARGS:M*+} >+_TCLTK_MIN_VERSION:= ${tcl_ARGS:M*+:S/+//} > _TCLTK_WANTED_VERSIONS:=${_TCLTK_DEFAULT_VERSION} > .endif > > # > # Parse one or more ver arguments. > # >-.if ${_TCL_ARGS:M8[4-6]} >-_TCLTK_WANTED_VERSIONS:=${_TCL_ARGS:M8[4-6]} >+.if ${tcl_ARGS:M8[4-6]} >+_TCLTK_WANTED_VERSIONS:=${tcl_ARGS:M8[4-6]} > .endif > > # > # It makes little sense to specify both the wrapper and a specific version. > # >-.if ${_TCL_ARGS:Mwrapper} && defined(_TCLTK_WANTED_VERSIONS) >+.if ${tcl_ARGS:Mwrapper} && defined(_TCLTK_WANTED_VERSIONS) > IGNORE= USES=${_TCLTK_PORT}: it is not possible to specify both a version and the wrapper: ${tcl_ARGS} > .endif > >@@ -175,7 +170,7 @@ _TCLTK_RUN_DEPENDS= > _TCLTK_LIB_DEPENDS= > > # Construct the correct dependency lines (wrapper) >-.if ${_TCL_ARGS:Mwrapper} >+.if ${tcl_ARGS:Mwrapper} > . if ${_TCLTK_PORT} == "tcl" > _TCLTK_WRAPPER_PORT= tclsh:${PORTSDIR}/lang/tcl-wrapper > . elif ${_TCLTK_PORT} == "tk" >@@ -192,10 +187,10 @@ _TCLTK_EXE_LINE= wish${TK_VER}:${PORTSDI > _TCLTK_LIB_LINE= libtk${TK_SHLIB_VER}.so:${PORTSDIR}/x11-toolkits/tk${_TCLTK_WANTED_VERSION} > .endif > >-.if ${_TCL_ARGS:Mbuild} >+.if ${tcl_ARGS:Mbuild} > BUILD_DEPENDS+= ${_TCLTK_WRAPPER_PORT} \ > ${_TCLTK_EXE_LINE} >-.elif ${_TCL_ARGS:Mrun} >+.elif ${tcl_ARGS:Mrun} > RUN_DEPENDS+= ${_TCLTK_WRAPPER_PORT} \ > ${_TCLTK_EXE_LINE} > .else >Index: Mk/Uses/tk.mk >=================================================================== >--- Mk/Uses/tk.mk (revision 369267) >+++ Mk/Uses/tk.mk (working copy) >@@ -3,9 +3,7 @@ > # vim: ts=8 noexpandtab > # > >-.if defined(tk_ARGS) >-tcl_ARGS:= ${tk_ARGS} >-.endif >+tcl_ARGS= ${tk_ARGS} > > _TCLTK_PORT= tk > >Index: Mk/Uses/twisted.mk >=================================================================== >--- Mk/Uses/twisted.mk (revision 369267) >+++ Mk/Uses/twisted.mk (working copy) >@@ -24,32 +24,11 @@ > .if !defined(_INCLUDE_USES_TWISTED_MK) > _INCLUDE_USES_TWISTED_MK= yes > >-.if !defined(twisted_ARGS) >-twisted_ARGS= build,run >-.endif >- >-_TWISTED_ARGS= ${twisted_ARGS:S/,/ /g} >- >-.if ${_TWISTED_ARGS:Mbuild} >-_TWISTED_BUILD_DEP= yes >-_TWISTED_ARGS:= ${_TWISTED_ARGS:Nbuild} >-.endif >-.if ${_TWISTED_ARGS:Mrun} >-_TWISTED_RUN_DEP= yes >-_TWISTED_ARGS:= ${_TWISTED_ARGS:Nrun} >-.endif >- >-.if !defined(_TWISTED_BUILD_DEP) && !defined(_TWISTED_RUN_DEP) >-# The port only seems to specify components, but neither run or build. >-# Assume them to be build and run dependencies. >-_TWISTED_BUILD_DEP= yes >-_TWISTED_RUN_DEP= yes >-.endif >- >-.if defined(_TWISTED_BUILD_DEP) >+# Assume both if neither build nor run are specified. >+.if ${twisted_ARGS:Mbuild} || empty(twisted_ARGS:Mrun) > BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twistedCore > .endif >-.if defined(_TWISTED_RUN_DEP) >+.if ${twisted_ARGS:Mrun} || empty(twisted_ARGS:Mbuild) > RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twistedCore > .endif > >@@ -67,7 +46,7 @@ web2_DEPENDS= ${PYTHON_SITELIBDIR}/twist > web_DEPENDS= ${PYTHON_SITELIBDIR}/twisted/web/__init__.py:${PORTSDIR}/www/py-twistedWeb > words_DEPENDS= ${PYTHON_SITELIBDIR}/twisted/words/__init__.py:${PORTSDIR}/net-im/py-twistedWords > >-.for component in ${_TWISTED_ARGS} >+.for component in ${twisted_ARGS:Nbuild:Nrun} > . if ${_TWISTED_COMPONENTS:M${component}}=="" > IGNORE= cannot install unknown twisted component ${component} > . endif >Index: Mk/Uses/uniquefiles.mk >=================================================================== >--- Mk/Uses/uniquefiles.mk (revision 369267) >+++ Mk/Uses/uniquefiles.mk (working copy) >@@ -64,10 +64,6 @@ > .if !defined(_INCLUDE_USES_UNIQUEFILES_MK) > _INCLUDE_USES_UNIQUEFILES_MK= yes > >-.if !defined(uniquefiles_ARGS) >-uniquefiles_ARGS= #empty >-.endif >- > UNIQUE_PREFIX?= ${PKGNAMEPREFIX} > UNIQUE_SUFFIX?= ${PKGNAMESUFFIX} > UNIQUE_PREFIX_FILES?= # empty >Index: Mk/Uses/webplugin.mk >=================================================================== >--- Mk/Uses/webplugin.mk (revision 369267) >+++ Mk/Uses/webplugin.mk (working copy) >@@ -113,19 +113,17 @@ _WEBPLUGIN_APPS_ALL_NATIVE= gecko opera > _WEBPLUGIN_APPS_ALL= ${_WEBPLUGIN_APPS_ALL_LINUX} \ > ${_WEBPLUGIN_APPS_ALL_NATIVE} > >-webplugin_ARGS?= all >-_WEBPLUGIN_ARGS= ${webplugin_ARGS:C/,/ /} > _WEBPLUGIN_TEST= ${_WEBPLUGIN_APPS_ALL} >-.if ${_WEBPLUGIN_ARGS} == all >+.if ${webplugin_ARGS} == all || empty(webplugin_ARGS) > _WEBPLUGIN_PATTERN= * >-.elif ${_WEBPLUGIN_ARGS} == native >+.elif ${webplugin_ARGS} == native > _WEBPLUGIN_PATTERN= * > _WEBPLUGIN_TEST= ${_WEBPLUGIN_APPS_ALL_NATIVE} >-.elif ${_WEBPLUGIN_ARGS} == linux >+.elif ${webplugin_ARGS} == linux > _WEBPLUGIN_PATTERN= * > _WEBPLUGIN_TEST= ${_WEBPLUGIN_APPS_ALL_LINUX} > .else >-_WEBPLUGIN_PATTERN= ${_WEBPLUGIN_ARGS} >+_WEBPLUGIN_PATTERN= ${webplugin_ARGS} > .endif > > .if !defined(WEBPLUGIN_FILES) >Index: Mk/Uses/zip.mk >=================================================================== >--- Mk/Uses/zip.mk (revision 369267) >+++ Mk/Uses/zip.mk (working copy) >@@ -7,22 +7,21 @@ > # > # MAINTAINER: portmgr@FreeBSD.org > >-.if !defined(_INCLUDE_USES_ZIP_Mk) >+.if !defined(_INCLUDE_USES_ZIP_MK) > _INCLUDE_USES_ZIP_MK= yes > >-zip_ARGS?= none >- > EXTRACT_SUFX?= .zip > > EXTRACT_BEFORE_ARGS?= -qo > EXTRACT_AFTER_ARGS?= -d ${WRKDIR} > >-.if ${zip_ARGS} == infozip >+.if empty(zip_ARGS) >+EXTRACT_CMD?= ${UNZIP_NATIVE_CMD} >+.elif ${zip_ARGS} == "infozip" > EXTRACT_DEPENDS+= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip > EXTRACT_CMD?= ${UNZIP_CMD} >-.elif ${zip_ARGS} == none >-EXTRACT_CMD?= ${UNZIP_NATIVE_CMD} > .else > IGNORE= Incorrect 'USES+=zip:${zip_ARGS}' expecting 'USES+=zip[:infozip]' > .endif >+ > .endif >Index: Mk/bsd.port.mk >=================================================================== >--- Mk/bsd.port.mk (revision 369267) >+++ Mk/bsd.port.mk (working copy) >@@ -1493,11 +1493,13 @@ QA_ENV+= USESSHAREDMIMEINFO=yes > > # Loading features > .for f in ${USES} >-_f=${f:C/\:.*//g} >-.if ${_f} != ${f} >-${_f}_ARGS:= ${f:C/^[^\:]*\://g} >+_f:= ${f:C/\:.*//} >+.if !defined(${_f}_ARGS) >+${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} > .endif >-.include "${USESDIR}/${_f}.mk" >+.endfor >+.for f in ${USES} >+.include "${USESDIR}/${f:C/\:.*//}.mk" > .endfor > > .if defined(USE_BZIP2) >@@ -1917,11 +1919,13 @@ USE_SUBMAKE= yes > > # Loading features > .for f in ${_USES_POST} >-_f=${f:C/\:.*//g} >-.if ${_f} != ${f} >-${_f}_ARGS:= ${f:C/^[^\:]*\://g} >+_f:= ${f:C/\:.*//} >+.if !defined(${_f}_ARGS) >+${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} > .endif >-.include "${USESDIR}/${_f}.mk" >+.endfor >+.for f in ${_USES_POST} >+.include "${USESDIR}/${f:C/\:.*//}.mk" > .endfor > > .if defined(USE_XORG)
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 193931
:
147676
|
147685
|
147699
|
147722