Add a part forgotten in previous commit concerning switching to pkgng

This commit is contained in:
Baptiste Daroussin 2012-10-10 13:12:17 +00:00
parent d69932da7d
commit 3fe25b5e4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305658
2 changed files with 5 additions and 0 deletions

View File

@ -115,6 +115,8 @@ ECHO_CMD?= echo # Shell builtin
# Used to print all the '===>' style prompts - override this to turn them off.
ECHO_MSG?= ${ECHO_CMD}
.elif !defined(_PKGTOOLSDEFINED)
_PKGTOOLDEFINED= yes
.if defined(WITH_PKGNG)
PKG_BIN?= ${LOCALBASE}/sbin/pkg
PKG_CMD?= ${PKG_BIN} register

View File

@ -1217,6 +1217,9 @@ WITH_PKGNG= yes
.endif
.endif
# Only define tools here (for transition period with between pkg tools)
.include "${PORTSDIR}/Mk/bsd.commands.mk"
MASTERDIR?= ${.CURDIR}
.if ${MASTERDIR} != ${.CURDIR}