diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-01-03 07:21:30 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-01-03 07:21:30 +0000 |
commit | 5483add61ababfc732e7c8456df49c4279831ffc (patch) | |
tree | e6f348e8783c2ee3a4a66dac548f436e5b3659f3 /security/isakmpd/Makefile | |
parent | 9de7c14ba63baf8764539f26efd054345da96c52 (diff) | |
download | FreeBSD-ports-5483add61ababfc732e7c8456df49c4279831ffc.zip FreeBSD-ports-5483add61ababfc732e7c8456df49c4279831ffc.tar.gz |
fix hardcoded path
PR: 43933
Submitted by: Daniel C. Sobral <dcs@tcoip.com.br>
Diffstat (limited to 'security/isakmpd/Makefile')
-rw-r--r-- | security/isakmpd/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile index b927d82..55c29c5 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> |