aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-17 22:50:47 +0800
committerbapt <bapt@FreeBSD.org>2014-02-17 22:50:47 +0800
commit3ebafba477c33ab589a3bd196bfa96ffcada9879 (patch)
tree684c25cd072bbe8a85d3cbd3bd67ce884ed7f06d
parentcccb5f2305584161ffe64103327fad080de24241 (diff)
downloadfreebsd-ports-gnome-3ebafba477c33ab589a3bd196bfa96ffcada9879.tar.gz
freebsd-ports-gnome-3ebafba477c33ab589a3bd196bfa96ffcada9879.tar.zst
freebsd-ports-gnome-3ebafba477c33ab589a3bd196bfa96ffcada9879.zip
Fix build with clang 3.4
-rw-r--r--security/ipsec-tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index 40be5a02cf28..71efd8cea84f 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -159,7 +159,7 @@ CONFIGURE_ARGS+= --disable-idea
.endif
post-patch:
- @${REINPLACE_CMD} -e "s/-Werror//g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s/-Werror//g ; s/-R$$libdir/-Wl,-rpath=$$libdir/g" ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}/${PREFIX}/etc/racoon