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
This commit is contained in:
Oliver Eikemeier 2004-07-02 20:47:18 +00:00
parent 0c0b25ae91
commit 4a209e39a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131482
2 changed files with 4 additions and 2 deletions

View File

@ -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}"

View File

@ -1,5 +1,6 @@
# $FreeBSD$
PORTSDIR?= /usr/ports
BSDPORTSUBDIRMK?= ${PORTSDIR}/Mk/bsd.port.subdir.mk
.include "${PORTSDIR}/Mk/bsd.port.subdir.mk"
.include "${BSDPORTSUBDIRMK}"