[98181] trunk/dports/math/atlas/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Sep 27 12:18:28 PDT 2012
Revision: 98181
http://trac.macports.org//changeset/98181
Author: macsforever2000 at macports.org
Date: 2012-09-27 12:18:28 -0700 (Thu, 27 Sep 2012)
Log Message:
-----------
atlas: Fix build of threaded dylib on Snow Leopard and older. (#35683)
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2012-09-27 19:08:05 UTC (rev 98180)
+++ trunk/dports/math/atlas/Portfile 2012-09-27 19:18:28 UTC (rev 98181)
@@ -481,6 +481,13 @@
build.target build
build.dir ${workpath}/${name}-${version}/build
+post-build {
+ reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \
+ ${build.dir}/lib/Makefile
+ reinplace "s|dynamic|dynamiclib|g" \
+ ${build.dir}/lib/Makefile
+ system "cd ${build.dir}/lib && ${build.cmd} shared_all"
+}
destroot.dir ${build.dir}
destroot.destdir DESTDIR=${destroot}${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120927/1ca1004c/attachment.html>
More information about the macports-changes
mailing list