Skip to content

Commit

Permalink
db60: 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 381524f commit 060bdcd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion databases/db60/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup muniversal 1.0

name db60
version 6.0.30
revision 1
revision 2
set branch [join [lrange [split ${version} .] 0 1] {}]
categories databases
license agpl-3
Expand All @@ -28,6 +28,8 @@ checksums md5 ad28eb86ad3203b5422844db179c585b \
sha1 038dca3ef2984c6cb95ff088d1ab7c7b9da40883 \
rmd160 8684dba9e28ddc14dede4b633f2afb56f79c3b89

patchfiles yosemite-libtool.patch

configure.dir ${worksrcpath}/build_unix
build.dir ${configure.dir}

Expand Down
12 changes: 12 additions & 0 deletions databases/db60/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- dist/configure.orig 2014-01-24 13:09:41.000000000 -0600
+++ dist/configure 2017-02-10 05:03:23.000000000 -0600
@@ -10164,7 +10164,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 060bdcd

Please sign in to comment.