pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_filecheck don't hardcode /var/db/pkg, use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/296b22132fad
branches:  trunk
changeset: 464976:296b22132fad
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Dec 18 14:32:01 2003 +0000

description:
don't hardcode /var/db/pkg, use PKG_DBDIR.

diffstat:

 pkgtools/pkg_filecheck/Makefile                 |  3 ++-
 pkgtools/pkg_filecheck/files/pkg_filecheck.conf |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 9d9fd21aaa94 -r 296b22132fad pkgtools/pkg_filecheck/Makefile
--- a/pkgtools/pkg_filecheck/Makefile   Thu Dec 18 14:29:11 2003 +0000
+++ b/pkgtools/pkg_filecheck/Makefile   Thu Dec 18 14:32:01 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/12/18 14:29:11 grant Exp $
+# $NetBSD: Makefile,v 1.9 2003/12/18 14:32:01 grant Exp $
 #
 
 DISTNAME=              pkg_filecheck-0.1
@@ -20,6 +20,7 @@
 NO_CONFIGURE=  yes
 
 FILES_SUBST+=  X11PREFIX=${X11PREFIX}
+FILES_SUBST+=  PKG_DBDIR=${PKG_DBDIR}
 CONF_FILES=    ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf \
                ${PKG_SYSCONFDIR}/pkg_filecheck.conf
 
diff -r 9d9fd21aaa94 -r 296b22132fad pkgtools/pkg_filecheck/files/pkg_filecheck.conf
--- a/pkgtools/pkg_filecheck/files/pkg_filecheck.conf   Thu Dec 18 14:29:11 2003 +0000
+++ b/pkgtools/pkg_filecheck/files/pkg_filecheck.conf   Thu Dec 18 14:32:01 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: pkg_filecheck.conf,v 1.1.1.1 2003/07/13 16:15:34 wiz Exp $
+# $NetBSD: pkg_filecheck.conf,v 1.2 2003/12/18 14:32:01 grant Exp $
 
 # location of package database
-dir /var/db/pkg
+dir @PKG_DBDIR@
 # name of package database
 db pkgdb.byfile.db
 # installation prefix for packages



Home | Main Index | Thread Index | Old Index