[127660] trunk/dports/databases/db48
larryv at macports.org
larryv at macports.org
Fri Oct 31 12:31:24 PDT 2014
Revision: 127660
https://trac.macports.org/changeset/127660
Author: larryv at macports.org
Date: 2014-10-31 12:31:24 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
db48: Fix incorrect linkage on Yosemite (#45705)
Again with the Libtool MACOSX_DEPLOYMENT_TARGET bug (#44596).
Modified Paths:
--------------
trunk/dports/databases/db48/Portfile
Added Paths:
-----------
trunk/dports/databases/db48/files/yosemite-libtool-dynamic_lookup.patch
Modified: trunk/dports/databases/db48/Portfile
===================================================================
--- trunk/dports/databases/db48/Portfile 2014-10-31 18:49:38 UTC (rev 127659)
+++ trunk/dports/databases/db48/Portfile 2014-10-31 19:31:24 UTC (rev 127660)
@@ -7,7 +7,7 @@
name db48
version 4.8.30
-revision 3
+revision 4
set branch [join [lrange [split ${version} .] 0 1] {}]
categories databases
license Sleepycat
@@ -32,6 +32,10 @@
patchfiles patch-dbinc_atomic.h
+# Correctly link with "-undefined dynamic_lookup" on Yosemite and later
+# (#45705).
+patchfiles-append yosemite-libtool-dynamic_lookup.patch
+
configure.dir ${worksrcpath}/build_unix
build.dir ${configure.dir}
Added: trunk/dports/databases/db48/files/yosemite-libtool-dynamic_lookup.patch
===================================================================
--- trunk/dports/databases/db48/files/yosemite-libtool-dynamic_lookup.patch (rev 0)
+++ trunk/dports/databases/db48/files/yosemite-libtool-dynamic_lookup.patch 2014-10-31 19:31:24 UTC (rev 127660)
@@ -0,0 +1,13 @@
+Index: dist/configure
+===================================================================
+--- dist/configure.orig
++++ dist/configure
+@@ -8840,7 +8840,7 @@ $as_echo "$lt_cv_ld_exported_symbols_lis
+ 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' ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141031/4f16e77e/attachment.html>
More information about the macports-changes
mailing list