summaryrefslogtreecommitdiffstats
path: root/share
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
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')
-rw-r--r--share/mk/bsd.port.mk3
-rw-r--r--share/mk/bsd.port.subdir.mk3
2 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 486ed16..2392b8f 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,6 +1,7 @@
# $FreeBSD$
PORTSDIR?= /usr/ports
+BSDPORTMK?= ${PORTSDIR}/Mk/bsd.port.mk
.include <bsd.own.mk>
-.include "${PORTSDIR}/Mk/bsd.port.mk"
+.include "${BSDPORTMK}"
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