aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.commands.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-10 13:12:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-10 13:12:17 +0000
commit3fe25b5e4e0b59fad4656aecaec9ee9815704ab7 (patch)
treee557938b866ff0c68226d9950c69c6b7953ca8b0 /Mk/bsd.commands.mk
parentd69932da7dd1d861328fbe6c492c321ab2d022ce (diff)
downloadports-3fe25b5e4e0b59fad4656aecaec9ee9815704ab7.tar.gz
ports-3fe25b5e4e0b59fad4656aecaec9ee9815704ab7.zip
Add a part forgotten in previous commit concerning switching to pkgng
Notes
Notes: svn path=/head/; revision=305658
Diffstat (limited to 'Mk/bsd.commands.mk')
-rw-r--r--Mk/bsd.commands.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk
index 72b2cae05208..c35ae16e9d74 100644
--- a/Mk/bsd.commands.mk
+++ b/Mk/bsd.commands.mk
@@ -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