summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_alternatives
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-08-20 19:16:21 +0000
committerjlam <jlam@pkgsrc.org>2005-08-20 19:16:21 +0000
commitcf4dfe44a59d7070d33288645a2fe86fa61a7c38 (patch)
tree47cc04d797caf5105bc04ccdfe666acfd2133361 /pkgtools/pkg_alternatives
parent5fea80506bff5d28a4574bc5251bd712cfee5ca5 (diff)
downloadpkgsrc-cf4dfe44a59d7070d33288645a2fe86fa61a7c38.tar.gz
Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference counts), regardless of the value of PKG_CONFIG. Bump the PKGREVISION for packages that were modified as a result.
Diffstat (limited to 'pkgtools/pkg_alternatives')
-rw-r--r--pkgtools/pkg_alternatives/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkg_alternatives/Makefile b/pkgtools/pkg_alternatives/Makefile
index 4bcadcb0841..3faa596e788 100644
--- a/pkgtools/pkg_alternatives/Makefile
+++ b/pkgtools/pkg_alternatives/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2005/05/21 04:10:18 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2005/08/20 19:16:21 jlam Exp $
#
DISTNAME= pkg_alternatives-1.3
+PKGREVISION= 1
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
@@ -25,8 +26,8 @@ DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
FILES_SUBST+= PKG_ALTERNATIVES=${PREFIX}/sbin/pkg_alternatives
-MAKE_DIRS= ${DBDIR}
-MAKE_DIRS+= ${PKG_SYSCONFDIR}
+REQD_DIRS= ${DBDIR}
+MAKE_DIRS= ${PKG_SYSCONFDIR}
PKG_SYSCONFSUBDIR= pkg_alternatives
CONF_FILES= ${EGDIR}/filter.conf ${PKG_SYSCONFDIR}/filter.conf