[128817] trunk/dports/math/octave

larryv at macports.org larryv at macports.org
Thu Nov 27 12:50:37 PST 2014


Revision: 128817
          https://trac.macports.org/changeset/128817
Author:   larryv at macports.org
Date:     2014-11-27 12:50:37 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
octave: Fix linkage on Yosemite

The Libtool MACOSX_DEPLOYMENT_TARGET bug again (#44596,
http://lists.gnu.org/archive/html/libtool-patches/2014-09/msg00000.html).

Modified Paths:
--------------
    trunk/dports/math/octave/Portfile

Added Paths:
-----------
    trunk/dports/math/octave/files/yosemite-libtool.patch

Modified: trunk/dports/math/octave/Portfile
===================================================================
--- trunk/dports/math/octave/Portfile	2014-11-27 19:49:54 UTC (rev 128816)
+++ trunk/dports/math/octave/Portfile	2014-11-27 20:50:37 UTC (rev 128817)
@@ -9,7 +9,7 @@
 name                octave
 
 version             3.8.2
-revision            1
+revision            2
 #conflicts           octave-devel
 categories          math science
 maintainers         michaelld openmaintainer
@@ -72,6 +72,10 @@
 
 universal_variant   no
 
+# Don't link with "-flat_namespace -undefined suppress" on Yosemite and
+# later.
+patchfiles          yosemite-libtool.patch
+
 # common configure arguments
 configure.args \
     --disable-dependency-tracking \

Added: trunk/dports/math/octave/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/math/octave/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/math/octave/files/yosemite-libtool.patch	2014-11-27 20:50:37 UTC (rev 128817)
@@ -0,0 +1,13 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -21080,7 +21080,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
+       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/20141127/48c182d5/attachment.html>


More information about the macports-changes mailing list