aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-12-24 00:30:21 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-12-24 00:30:21 +0000
commit709b05ed2df2d589f9eb6faf9233e33189574398 (patch)
treea08431b366a89ecb2b24a8316276c3a8a01e565b /Mk/bsd.port.mk
parent8c8774815d15492ed7cbec56b8f838295f7e4290 (diff)
downloadports-709b05ed2df2d589f9eb6faf9233e33189574398.tar.gz
ports-709b05ed2df2d589f9eb6faf9233e33189574398.zip
Notes
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