Skip to content

Commit

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

name libdaemon
version 0.14
revision 1
categories devel
platforms darwin
maintainers nomaintainer
Expand All @@ -25,6 +26,8 @@ checksums md5 509dc27107c21bcd9fbf2f95f5669563 \

depends_build port:pkgconfig

patchfiles yosemite-libtool.patch

configure.args --disable-lynx

post-destroot {
Expand Down
12 changes: 12 additions & 0 deletions devel/libdaemon/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2009-10-16 21:08:49.000000000 -0500
+++ configure 2017-02-10 06:35:15.000000000 -0600
@@ -7589,7 +7589,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 28b8e08

Please sign in to comment.