aboutsummaryrefslogtreecommitdiff
path: root/security/openvpn-auth-ldap
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2014-08-03 07:52:49 +0000
committerMatthias Andree <mandree@FreeBSD.org>2014-08-03 07:52:49 +0000
commit5064d58e75fbdfad5115f8dec92d8513a646458b (patch)
treec35c7670ac87375bff99fa5a96de88718c669e9f /security/openvpn-auth-ldap
parent5f9a969204856678190cd3e63ee3491710d265ac (diff)
downloadports-5064d58e75fbdfad5115f8dec92d8513a646458b.tar.gz
ports-5064d58e75fbdfad5115f8dec92d8513a646458b.zip
Make sure that -export-dynamic is passed to the linker.
Notes
Notes: svn path=/head/; revision=363854
Diffstat (limited to 'security/openvpn-auth-ldap')
-rw-r--r--security/openvpn-auth-ldap/Makefile5
-rw-r--r--security/openvpn-auth-ldap/files/patch-tests__Makefile.in (renamed from security/openvpn-auth-ldap/files/patch-tests-Makefile.in)4
2 files changed, 6 insertions, 3 deletions
diff --git a/security/openvpn-auth-ldap/Makefile b/security/openvpn-auth-ldap/Makefile
index 7b22cddacc05..8153c91e090a 100644
--- a/security/openvpn-auth-ldap/Makefile
+++ b/security/openvpn-auth-ldap/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openvpn-auth-ldap
PORTVERSION= 2.0.3
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= auth-ldap-${PORTVERSION}
@@ -33,6 +33,9 @@ OPTIONS_DEFINE= DOCS EXAMPLES
CONFIGURE_ENV+= OBJC="${CC}"
+post-patch:
+ ${REINPLACE_CMD} 's|-export-dynamic|-Wl,-export-dynamic|' ${WRKSRC}/configure
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn-auth-ldap.so
.if ${PORT_OPTIONS:MDOCS}
diff --git a/security/openvpn-auth-ldap/files/patch-tests-Makefile.in b/security/openvpn-auth-ldap/files/patch-tests__Makefile.in
index 9405979d6338..4c21d67eddf9 100644
--- a/security/openvpn-auth-ldap/files/patch-tests-Makefile.in
+++ b/security/openvpn-auth-ldap/files/patch-tests__Makefile.in
@@ -1,5 +1,5 @@
---- tests/Makefile.in.orig 2006-08-01 05:51:52.000000000 +0200
-+++ tests/Makefile.in 2013-06-09 06:33:07.000000000 +0200
+--- ./tests/Makefile.in.orig 2006-08-01 05:51:52.000000000 +0200
++++ ./tests/Makefile.in 2014-08-03 09:26:42.000000000 +0200
@@ -26,7 +26,7 @@
CFLAGS+= @CHECK_CFLAGS@ -DTEST_DATA=\"${srcdir}/data\"
OBJCFLAGS+= @CHECK_CFLAGS@ -DTEST_DATA=\"${srcdir}/data\"