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

takeshi at macports.org takeshi at macports.org
Sun Aug 8 06:24:44 PDT 2010


Revision: 70406
          http://trac.macports.org/changeset/70406
Author:   takeshi at macports.org
Date:     2010-08-08 06:24:41 -0700 (Sun, 08 Aug 2010)
Log Message:
-----------
metis: added configure.cc_archflags to aid build for ppc64

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

Modified: trunk/dports/math/metis/Portfile
===================================================================
--- trunk/dports/math/metis/Portfile	2010-08-08 13:07:27 UTC (rev 70405)
+++ trunk/dports/math/metis/Portfile	2010-08-08 13:24:41 UTC (rev 70406)
@@ -41,7 +41,10 @@
 	if {[variant_isset universal]} {
 		append optflags " " ${configure.universal_cflags}
 		append ldflags " " ${configure.universal_ldflags}
-	}
+	} else {
+                append optflags " " ${configure.cc_archflags}
+		append ldflags " " ${configure.cc_archflags}
+        }
 	
 	reinplace "s|CC = .*|CC = ${configure.cc}|" ${worksrcpath}/Makefile.in
 	reinplace "s|OPTFLAGS = .*|OPTFLAGS = ${optflags}|" ${worksrcpath}/Makefile.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100808/18d30847/attachment.html>


More information about the macports-changes mailing list