diff options
author | bapt <bapt@FreeBSD.org> | 2013-03-16 00:45:47 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-03-16 00:45:47 +0800 |
commit | b5c1f5ba09daf52c1d791c1d4f67d087013cbf93 (patch) | |
tree | 19ce9c460b80ec43f987cc901656d2e47f90ef50 /Mk | |
parent | 7982f3e8a41e8753e766d759ba2dd0f5b5d1b050 (diff) | |
download | freebsd-ports-gnome-b5c1f5ba09daf52c1d791c1d4f67d087013cbf93.tar.gz freebsd-ports-gnome-b5c1f5ba09daf52c1d791c1d4f67d087013cbf93.tar.zst freebsd-ports-gnome-b5c1f5ba09daf52c1d791c1d4f67d087013cbf93.zip |
r314316 loads the features a bit too late it should be done prior to the path sanity checking
Reported by: bdrewery
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index d1a9754d0a9d..8280916e6b19 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1510,6 +1510,15 @@ PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg .include "${PORTSDIR}/Mk/bsd.pbi.mk" +# Loading features +.for f in ${USES} +_f=${f:C/\:.*//g} +.if ${_f} != ${f} +${_f}_ARGS:= ${f:C/^[^\:]*\://g} +.endif +.include "${USESDIR}/${_f}.mk" +.endfor + # You can force skipping these test by defining IGNORE_PATH_CHECKS .if !defined(IGNORE_PATH_CHECKS) .if (${PREFIX:C,(^.).*,\1,} != "/") @@ -1527,15 +1536,6 @@ CD_MOUNTPTS?= /cdrom ${CD_MOUNTPT} WWWOWN?= www WWWGRP?= www -# Loading features -.for f in ${USES} -_f=${f:C/\:.*//g} -.if ${_f} != ${f} -${_f}_ARGS:= ${f:C/^[^\:]*\://g} -.endif -.include "${USESDIR}/${_f}.mk" -.endfor - .endif # End of pre-makefile section. |