diff options
author | grant <grant@pkgsrc.org> | 2003-12-18 14:32:01 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-12-18 14:32:01 +0000 |
commit | 2fb1313b5fba2621f38d7ba7555b65026beab8c2 (patch) | |
tree | b1637474e0e18dab1fd6210b08b61a928b103bc3 /pkgtools | |
parent | 2f4cb28358a489b3275c2d725b2456a6ad7963f0 (diff) | |
download | pkgsrc-2fb1313b5fba2621f38d7ba7555b65026beab8c2.tar.gz |
don't hardcode /var/db/pkg, use PKG_DBDIR.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_filecheck/Makefile | 3 | ||||
-rw-r--r-- | pkgtools/pkg_filecheck/files/pkg_filecheck.conf | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkg_filecheck/Makefile b/pkgtools/pkg_filecheck/Makefile index 8215abefc78..05e0289f34d 100644 --- a/pkgtools/pkg_filecheck/Makefile +++ b/pkgtools/pkg_filecheck/Makefile @@ -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_CHECKSUM= yes 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 --git a/pkgtools/pkg_filecheck/files/pkg_filecheck.conf b/pkgtools/pkg_filecheck/files/pkg_filecheck.conf index 1b5878f37ea..d6f9b752851 100644 --- a/pkgtools/pkg_filecheck/files/pkg_filecheck.conf +++ b/pkgtools/pkg_filecheck/files/pkg_filecheck.conf @@ -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 |