[42730] trunk/dports/math/metis/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sat Nov 29 20:10:11 PST 2008
Revision: 42730
http://trac.macports.org/changeset/42730
Author: mcalhoun at macports.org
Date: 2008-11-29 20:10:11 -0800 (Sat, 29 Nov 2008)
Log Message:
-----------
metis: ensure that the correct compiler is used even if the configure and destroot
phases come from separate port calls.
See http://lists.macosforge.org/pipermail/macports-dev/2008-November/006517.html
Modified Paths:
--------------
trunk/dports/math/metis/Portfile
Modified: trunk/dports/math/metis/Portfile
===================================================================
--- trunk/dports/math/metis/Portfile 2008-11-30 02:52:12 UTC (rev 42729)
+++ trunk/dports/math/metis/Portfile 2008-11-30 04:10:11 UTC (rev 42730)
@@ -25,7 +25,7 @@
post-configure {
# ensure that the correct compiler is used
- build.args-append CC=${configure.cc}
+ reinplace "s|CC = .*|CC = ${configure.cc}|" ${worksrcpath}/Makefile.in
}
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081129/b1a99369/attachment.html>
More information about the macports-changes
mailing list