aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-05 13:16:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-05 13:16:57 +0000
commit0fa3776fece48c0490f9cddfcb219e5db02dce25 (patch)
tree10814bf908a75b1b1503c00f065b92aa2048101e /Mk
parentdcd945cc3890f5e564f86fd119f430ccfdb193d1 (diff)
downloadports-0fa3776fece48c0490f9cddfcb219e5db02dce25.tar.gz
ports-0fa3776fece48c0490f9cddfcb219e5db02dce25.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index ef714a57b46e..dd1251bbe83a 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1541,6 +1541,15 @@ check-makefile::
_POSTMKINCLUDED= yes
+# Loading features
+.for f in ${_USES_POST}
+_f=${f:C/\:.*//g}
+.if ${_f} != ${f}
+${_f}_ARGS:= ${f:C/^[^\:]*\://g}
+.endif
+.include "${USESDIR}/${_f}.mk"
+.endfor
+
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB)
WRKSRC?= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}