1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Make sure that -export-dynamic is passed to the linker.

This commit is contained in:
Matthias Andree 2014-08-03 07:52:49 +00:00
parent 5f9a969204
commit 5064d58e75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363854
2 changed files with 6 additions and 3 deletions

View File

@ -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}

View File

@ -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\"