Skip to content

Commit

Permalink
fluidsynth: 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 26c634f commit 6214c47
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion multimedia/fluidsynth/Portfile
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0

name fluidsynth
version 1.1.6
revision 4
revision 5
categories multimedia audio
maintainers gmail.com:rjvbertin mojca openmaintainer
license LGPL
Expand Down Expand Up @@ -36,6 +36,8 @@ depends_lib port:flac \
port:portaudio \
port:readline

patchfiles yosemite-libtool.patch

configure.args-append \
--disable-dependency-tracking \
--disable-pulse-support \
Expand Down
12 changes: 12 additions & 0 deletions multimedia/fluidsynth/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2012-08-15 23:01:13.000000000 -0500
+++ configure 2017-02-09 09:26:42.000000000 -0600
@@ -7580,7 +7580,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 6214c47

Please sign in to comment.