summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/priv/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/priv/Makefile b/security/priv/Makefile
index e136fa92e9e..1cac5967de9 100644
--- a/security/priv/Makefile
+++ b/security/priv/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2004/06/14 03:16:43 uebayasi Exp $
+# $NetBSD: Makefile,v 1.12 2004/11/30 15:26:03 jlam Exp $
#
DISTNAME= priv-1.0-beta2
PKGNAME= priv-1.0beta2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.thistledown.com.au/pub/simonb/
@@ -16,7 +16,11 @@ USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_PKGINSTALL= YES
-CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+SUBST_CLASSES+= sysconfdir
+SUBST_STAGE.sysconfdir= post-configure
+SUBST_FILES.sysconfdir= priv.1
+SUBST_SED.sysconfdir= -e "s|/usr/local/etc/|${PKG_SYSCONFDIR}/|g"
OWN_DIRS= ${PKG_SYSCONFDIR}/priv