summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2002-06-25 06:53:39 +0000
committeritojun <itojun@pkgsrc.org>2002-06-25 06:53:39 +0000
commitcd5039bff8d467ff31b371f8d4be15db066ce4a5 (patch)
treedd009892924e97a7836b8e0f9a68a7a2ebe57353
parentaf0e41020b63bf6ac0560990550b1a99eedf91d2 (diff)
downloadpkgsrc-cd5039bff8d467ff31b371f8d4be15db066ce4a5.tar.gz
follow PKG_SYSCONFDIR (hope i did it right this time)
-rw-r--r--security/racoon/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/security/racoon/Makefile b/security/racoon/Makefile
index 7f3f5c99dc8..70e6eb5f6ee 100644
--- a/security/racoon/Makefile
+++ b/security/racoon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2002/06/17 10:06:50 drochner Exp $
+# $NetBSD: Makefile,v 1.51 2002/06/25 06:53:39 itojun Exp $
#
DISTNAME= racoon-20020507a
@@ -16,8 +16,9 @@ CRYPTO= yes
IGNORE+= "${PKGNAME} requires ipsec-ready NetBSD"
.endif
-.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
+BUILD_DEFS+= PKG_SYSCONFDIR
+.include "../../mk/bsd.prefs.mk"
USE_BUILDLINK_ONLY= yes
@@ -25,6 +26,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 +35,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