summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormanu <manu>2004-11-11 10:53:08 +0000
committermanu <manu>2004-11-11 10:53:08 +0000
commitb2c56a7ecb45f34c0689e2006851804a954bc3a8 (patch)
treec1bb76d75bb44ccf3aca8c0291fcae935dd644ee /security
parentf1fdb2cc90569499a419e1ab658a195a6716a658 (diff)
downloadpkgsrc-b2c56a7ecb45f34c0689e2006851804a954bc3a8.tar.gz
Remove lex and yacc generated files before building: they might not
match with the libraries installed on the system.
Diffstat (limited to 'security')
-rw-r--r--security/ipsec-tools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index ef226555698..9cfece732bf 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/11/10 16:44:51 manu Exp $
+# $NetBSD: Makefile,v 1.6 2004/11/11 10:53:08 manu Exp $
#
DISTNAME= ipsec-tools-0.5.pre20041109
@@ -23,6 +23,10 @@ CONFIGURE_ARGS+= --with-libradius --enable-frag --enable-hybrid
SAMPLE_DIR= ${WRKSRC}/src/racoon/samples
EXAMPLE_DIR= ${PREFIX}/share/examples/ipsec-tools
+pre-configure:
+ ${RM} ${WRKSRC}/src/racoon/cfparse.c
+ ${RM} ${WRKSRC}/src/racoon/cftoken.c
+
post-install:
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
${INSTALL_DATA} ${SAMPLE_DIR}/psk.txt ${EXAMPLE_DIR}