[42686] trunk/dports/math/metis/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Nov 29 09:54:08 PST 2008


Revision: 42686
          http://trac.macports.org/changeset/42686
Author:   mcalhoun at macports.org
Date:     2008-11-29 09:54:07 -0800 (Sat, 29 Nov 2008)
Log Message:
-----------
metis: Ensure that the correct C compiler is used.

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

Modified: trunk/dports/math/metis/Portfile
===================================================================
--- trunk/dports/math/metis/Portfile	2008-11-29 17:31:01 UTC (rev 42685)
+++ trunk/dports/math/metis/Portfile	2008-11-29 17:54:07 UTC (rev 42686)
@@ -23,6 +23,11 @@
 
 build.target
 
+post-configure {
+	# ensure that the correct compiler is used
+	build.args-append CC=${configure.cc}
+}
+
 destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/include/metis \
 		${destroot}${prefix}/share/doc/${name}
@@ -39,6 +44,3 @@
 	xinstall -m 644 ${worksrcpath}/Doc/manual.ps \
 		${destroot}${prefix}/share/doc/${name}
 }
-
-platform darwin 8 { build.args CC=/usr/bin/gcc-4.0 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081129/f1eb8616/attachment.html>


More information about the macports-changes mailing list