Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libassuan: Don't create flat-namespace dylib on Yosemite
  • Loading branch information
ryandesign committed Feb 10, 2017
1 parent d466952 commit 8fa280d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devel/libassuan/Portfile
Expand Up @@ -4,6 +4,7 @@ PortSystem 1.0

name libassuan
version 2.4.3
revision 1
categories devel
platforms darwin
# strangely enough, only the docs are under GPL3
Expand All @@ -25,6 +26,8 @@ checksums sha1 27391cf4a820b5350ea789c30661830c9a271518 \
rmd160 1e1a28d4beebb5ad9c660957de250e3315eecba2 \
sha256 22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71

patchfiles yosemite-libtool.patch

test.run yes
test.target check

Expand Down
12 changes: 12 additions & 0 deletions devel/libassuan/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2016-07-14 03:11:48.000000000 -0500
+++ configure 2017-02-10 05:42:07.000000000 -0600
@@ -7846,7 +7846,7 @@
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;

0 comments on commit 8fa280d

Please sign in to comment.