summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-07-02 20:47:18 +0000
committereik <eik@FreeBSD.org>2004-07-02 20:47:18 +0000
commit311c5a0637f7c306895462ca12a6749f7a4e4dfe (patch)
tree7ca7c522e0adbe1ace9ae900bde9dce8cfba56bd /share/mk/bsd.port.subdir.mk
parent696704716d52a895094da20b7e1a0f763b069e12 (diff)
downloadFreeBSD-src-311c5a0637f7c306895462ca12a6749f7a4e4dfe.zip
FreeBSD-src-311c5a0637f7c306895462ca12a6749f7a4e4dfe.tar.gz
Enable testing of customized variants of bsd.port.mk and
bsd.port.subdir.mk, without the overhead of an additional ports tree. Use make BSDPORTMK='${PORTSDIR}/My.Mk/bsd.port.mk' target and make BSDPORTSUBDIRMK='${PORTSDIR}/My.Mk/bsd.port.subdir.mk' target to build with the alternate versions. MFC after: 3 days
Diffstat (limited to 'share/mk/bsd.port.subdir.mk')
-rw-r--r--share/mk/bsd.port.subdir.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.port.subdir.mk b/share/mk/bsd.port.subdir.mk
index b199d09..5115602 100644
--- a/share/mk/bsd.port.subdir.mk
+++ b/share/mk/bsd.port.subdir.mk
@@ -1,5 +1,6 @@
# $FreeBSD$
PORTSDIR?= /usr/ports
+BSDPORTSUBDIRMK?= ${PORTSDIR}/Mk/bsd.port.subdir.mk
-.include "${PORTSDIR}/Mk/bsd.port.subdir.mk"
+.include "${BSDPORTSUBDIRMK}"
OpenPOWER on IntegriCloud