From 51aa84fd7c59570807927fd70de0f0b497e23ec2 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 18 Dec 2003 14:32:01 +0000 Subject: don't hardcode /var/db/pkg, use PKG_DBDIR. --- pkgtools/pkg_filecheck/Makefile | 3 ++- 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 -- cgit v1.2.3