summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-09 16:09:58 +0000
committerjlam <jlam@pkgsrc.org>2005-06-09 16:09:58 +0000
commit94f3443509bd280b28a832c5136b87b6ade1d2b1 (patch)
tree97c3a28f39e6036663078d11785dbf6b114a9f7a /mk
parent1ad3a3bdd6d20fa71f5c026b6f5afe062368215d (diff)
downloadpkgsrc-94f3443509bd280b28a832c5136b87b6ade1d2b1.tar.gz
Don't reinvent PKGPATH, which already contains just the "category/package"
portion of the path.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 8c8a41a7f3c..e866d45ff72 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1690 2005/06/09 16:08:27 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1691 2005/06/09 16:09:58 jlam Exp $
#
# This file is in the public domain.
#
@@ -4870,11 +4870,10 @@ _CTYPE2= " to XXX"
.else
_CTYPE2=
.endif
-_PKGPATH= ${.CURDIR:S/${_PKGSRCDIR}\///}
# override in /etc/mk.conf with your NetBSD login if different
NETBSD_LOGIN_NAME?= `id -nu`
CDATE!= date -u +%Y-%m-%d
.PHONY: changes-entry
changes-entry:
- @${ECHO} " "${CTYPE:Q}" "${_PKGPATH:Q}${_CTYPE2}" [${NETBSD_LOGIN_NAME} "${CDATE:Q}"]"\
+ @${ECHO} " "${CTYPE:Q}" "${PKGPATH:Q}${_CTYPE2}" [${NETBSD_LOGIN_NAME} "${CDATE:Q}"]"\
>> ${_PKGSRCDIR}/doc/CHANGES