mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
r314316 loads the features a bit too late it should be done prior to the path sanity checking
Reported by: bdrewery
This commit is contained in:
parent
be3b808c2a
commit
911c27a74b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314317
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user