summaryrefslogtreecommitdiff
path: root/security/racoon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/racoon/Makefile')
-rw-r--r--security/racoon/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/racoon/Makefile b/security/racoon/Makefile
index 9f7a2d05ce3..145393da5f5 100644
--- a/security/racoon/Makefile
+++ b/security/racoon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48.2.2 2002/06/30 06:24:08 jlam Exp $
+# $NetBSD: Makefile,v 1.48.2.3 2002/08/25 21:21:13 jlam Exp $
#
DISTNAME= racoon-20020507a
@@ -16,8 +16,8 @@ CRYPTO= yes
IGNORE+= "${PKGNAME} requires ipsec-ready NetBSD"
.endif
-.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
+.include "../../mk/bsd.prefs.mk"
USE_BUILDLINK2= yes
@@ -25,6 +25,8 @@ CONFLICTS+= racoon-[0-9]*
WRKSRC= ${WRKDIR}/${DISTNAME}/racoon
+PKG_SYSCONFSUBDIR?= racoon
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-debug
.if defined(USE_INET6) && ${USE_INET6} == "YES"
@@ -32,7 +34,7 @@ CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
-CONFIGURE_ARGS+=--sysconfdir=/etc/racoon
+CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
.if defined(PKGREVISION)
CONFIGURE_ARGS+=--with-pkgversion=netbsd-pkgsrc-20020507anb${PKGREVISION}
.else