pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg pkgtools/pkg: Follow recent PKG_DBDIR cha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a070031c95b
branches:  trunk
changeset: 354926:0a070031c95b
user:      marino <marino%pkgsrc.org@localhost>
date:      Tue Nov 15 15:42:21 2016 +0000

description:
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:

 pkgtools/pkg/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d8636866e2ed -r 0a070031c95b pkgtools/pkg/Makefile
--- a/pkgtools/pkg/Makefile     Tue Nov 15 13:51:07 2016 +0000
+++ b/pkgtools/pkg/Makefile     Tue Nov 15 15:42:21 2016 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index