Skip to content

Commit

Permalink
libcanberra: 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 b23d8fc commit 0d5a17f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions audio/libcanberra/Portfile
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0

name libcanberra
version 0.30
revision 5
revision 6
license LGPL-2.1+
categories audio devel
maintainers nomaintainer
Expand All @@ -29,7 +29,8 @@ depends_run port:sound-theme-freedesktop

patchfiles patch-configure.diff \
patch-gtkquartz.diff \
LC_CTYPE.patch
LC_CTYPE.patch \
yosemite-libtool.patch

configure.args --disable-alsa \
--disable-gtk-doc \
Expand Down
12 changes: 12 additions & 0 deletions audio/libcanberra/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2017-02-10 06:03:27.000000000 -0600
+++ configure 2017-02-10 06:03:27.000000000 -0600
@@ -9542,7 +9542,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 0d5a17f

Please sign in to comment.