diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-12-25 12:46:14 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-12-25 12:46:14 +0000 |
commit | dd2c2cb23e4001d59d07433af1283576a545b9bc (patch) | |
tree | ec0736641ebe66daed6945bdd8e75c9b52ebc51e /Mk/bsd.port.mk | |
parent | 91bbddb9250de6cfc0c750acb01ef6f61362507d (diff) | |
download | ports-dd2c2cb23e4001d59d07433af1283576a545b9bc.tar.gz ports-dd2c2cb23e4001d59d07433af1283576a545b9bc.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 7bf48ee2a4cb..17e607cfef3b 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1211,7 +1211,9 @@ USE_SUBMAKE= yes .for _CATEGORY in ${CATEGORIES} PKGCATEGORY?= ${_CATEGORY} .endfor -PKGORIGIN?= ${.CURDIR:C/${PORTSDIR}\///} +_PORTDIRNAME= ${.CURDIR:T} +PORTDIRNAME?= ${_PORTDIRNAME} +PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} # where 'make config' records user configuration options PORT_DBDIR?= /var/db/ports |