summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2016-11-15 15:42:21 +0000
committermarino <marino@pkgsrc.org>2016-11-15 15:42:21 +0000
commit9ff2ef63e225b0eb5fb0d58504aa1f9e34dfe6cf (patch)
tree78a0fda23cf3ce48b96e5b69af7dbb01c46842f2 /pkgtools
parentd630467f24dcd5bd88d32fbd201c5a92cfb3f50c (diff)
downloadpkgsrc-9ff2ef63e225b0eb5fb0d58504aa1f9e34dfe6cf.tar.gz
pkgtools/pkg: Follow recent PKG_DBDIR changes in bootstrap script
The default for PKG_DBDIR changed from /var/db/pkg to ${LOCALBASE}/pkgdb Accordingly, the pkgng location is changing from /var/db/pkgng to ${LOCALBASE}/pkgng-db
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg/Makefile b/pkgtools/pkg/Makefile
index d24f024a08d..dccb0a2955d 100644
--- a/pkgtools/pkg/Makefile
+++ b/pkgtools/pkg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2016/11/14 19:38:11 marino Exp $
+# $NetBSD: Makefile,v 1.15 2016/11/15 15:42:21 marino Exp $
DISTNAME= pkg-1.8.7
PKGREVISION= 7
@@ -145,7 +145,7 @@ post-install:
.if defined (PKG_DBDIR)
PKGNG_DBDIR?= ${PKG_DBDIR}
.else
-PKGNG_DBDIR?= /var/db/pkgng
+PKGNG_DBDIR?= ${PREFIX}/pkgng-db
.endif
.if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly" && ${OPSYS} != "NetBSD"