From cd5039bff8d467ff31b371f8d4be15db066ce4a5 Mon Sep 17 00:00:00 2001 From: itojun Date: Tue, 25 Jun 2002 06:53:39 +0000 Subject: follow PKG_SYSCONFDIR (hope i did it right this time) --- security/racoon/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'security/racoon') 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 -- cgit v1.2.3