aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-03-26 12:03:25 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-03-26 12:03:25 +0800
commit0ad18237aeef19cb04bdc0721a2deaf0944d3b0f (patch)
treee01a3480e6c2888dbcf9fb59f42d63553dbce1b0 /Mk/bsd.port.mk
parent4cd805c6c52ed8e8fd3889f1259ee8db500ff1d1 (diff)
downloadfreebsd-ports-gnome-0ad18237aeef19cb04bdc0721a2deaf0944d3b0f.tar.gz
freebsd-ports-gnome-0ad18237aeef19cb04bdc0721a2deaf0944d3b0f.tar.zst
freebsd-ports-gnome-0ad18237aeef19cb04bdc0721a2deaf0944d3b0f.zip
install-package: Support INSTALLS_DEPENDS to register package as automatic
With hat: portmgr
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 8156146f301f..378cb01b607c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3842,6 +3842,9 @@ delete-package-list: delete-package-links-list
.if defined(FORCE_PKG_REGISTER)
_INSTALL_PKG_ARGS= -f
.endif
+.if defined(INSTALLS_DEPENDS) && defined(WITH_PKGNG)
+_INSTALL_PKG_ARGS+= -A
+.endif
install-package:
@if [ -f "${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}" ]; then \
_pkgfile="${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}"; \