aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-13 06:35:09 +0800
committerbapt <bapt@FreeBSD.org>2014-04-13 06:35:09 +0800
commit73d832f3b8be82b5591a3fb2a9c83b82f4af04b4 (patch)
tree1b73e8c09147410e80ebb4bb5eccf57d13387e12 /Mk/bsd.port.mk
parent434642b170cde0c2c998bcaed0d9c772066c25a0 (diff)
downloadfreebsd-ports-gnome-73d832f3b8be82b5591a3fb2a9c83b82f4af04b4.tar.gz
freebsd-ports-gnome-73d832f3b8be82b5591a3fb2a9c83b82f4af04b4.tar.zst
freebsd-ports-gnome-73d832f3b8be82b5591a3fb2a9c83b82f4af04b4.zip
Add PORTSDIR path into PKG_ENV to allow the pkg command to properly find the keywords when PORTSDIR is not /usr/ports
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4e3f3c9cd3c1..c56f7e0e5e83 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1130,6 +1130,7 @@ USESDIR?= ${PORTSDIR}/Mk/Uses
SCRIPTSDIR?= ${PORTSDIR}/Mk/Scripts
LIB_DIRS?= /lib /usr/lib ${LOCALBASE}/lib
NOTPHONY?=
+PKG_ENV+= PORTSDIR=${PORTSDIR}
.if defined(FORCE_STAGE)
.undef NO_STAGE