aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
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