Skip to content

Commit

Permalink
libev: 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 9, 2017
1 parent 6214c47 commit 3f8ec4f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion devel/libev/Portfile
Expand Up @@ -6,7 +6,7 @@ PortGroup muniversal 1.0
name libev
epoch 1
version 4.24
revision 0
revision 1
categories devel net
platforms darwin
license {BSD GPL-2+}
Expand All @@ -24,6 +24,8 @@ master_sites http://dist.schmorp.de/libev/Attic/
checksums rmd160 ec1da8e223322ac7e05d82250b5a2d0db8c144fe \
sha256 973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821

patchfiles yosemite-libtool.patch

post-destroot {
move ${destroot}${prefix}/include/event.h ${destroot}${prefix}/include/ev-event.h
}
Expand Down
12 changes: 12 additions & 0 deletions devel/libev/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2016-12-27 22:22:55.000000000 -0600
+++ configure 2017-02-09 09:29:58.000000000 -0600
@@ -7180,7 +7180,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 3f8ec4f

Please sign in to comment.