summaryrefslogtreecommitdiff
path: root/security/isakmpd
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-01-03 07:21:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-01-03 07:21:30 +0000
commitadac203589a37eecc7df96dcc5716fde00cea039 (patch)
treee0c5f120f550b10a03e958c6f78757fb283d62f6 /security/isakmpd
parentupgrade to 20021118 (diff)
fix hardcoded path
PR: 43933 Submitted by: Daniel C. Sobral <dcs@tcoip.com.br>
Notes
Notes: svn path=/head/; revision=72355
Diffstat (limited to 'security/isakmpd')
-rw-r--r--security/isakmpd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index b927d822e424..55c29c5e31c4 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -24,6 +24,7 @@ BROKEN= "requires IPsec support"
.endif
USE_OPENSSL= yes
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/isakmpd
MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
@@ -31,4 +32,9 @@ MAN5= isakmpd.conf.5 isakmpd.policy.5
MAN8= isakmpd.8
MANCOMPRESSED= yes
+post-patch:
+ @(cd ${WRKSRC}; ${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" \
+ conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 \
+ isakmpd.policy.5 policy.h)
+
.include <bsd.port.mk>