aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-12-24 08:30:21 +0800
committerbapt <bapt@FreeBSD.org>2016-12-24 08:30:21 +0800
commit583b2116e42d080dd56f50d03c3e59cbd2d98735 (patch)
treea08431b366a89ecb2b24a8316276c3a8a01e565b /Mk/bsd.port.mk
parent383ac9b1dc48d9b11fe3634ad567d4b7355810bc (diff)
downloadfreebsd-ports-gnome-583b2116e42d080dd56f50d03c3e59cbd2d98735.tar.gz
freebsd-ports-gnome-583b2116e42d080dd56f50d03c3e59cbd2d98735.tar.zst
freebsd-ports-gnome-583b2116e42d080dd56f50d03c3e59cbd2d98735.zip
Make the ports infrastructure accept at least 3 level ports
Approved by: portmgr (rene Differential Revision: https://reviews.freebsd.org/D8889
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 17e607cfef3b..7bf48ee2a4cb 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1211,9 +1211,7 @@ USE_SUBMAKE= yes
.for _CATEGORY in ${CATEGORIES}
PKGCATEGORY?= ${_CATEGORY}
.endfor
-_PORTDIRNAME= ${.CURDIR:T}
-PORTDIRNAME?= ${_PORTDIRNAME}
-PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME}
+PKGORIGIN?= ${.CURDIR:C/${PORTSDIR}\///}
# where 'make config' records user configuration options
PORT_DBDIR?= /var/db/ports