diff options
Diffstat (limited to 'security/racoon/Makefile')
-rw-r--r-- | security/racoon/Makefile | 9 |
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 |