[70406] trunk/dports/math/metis/Portfile
Revision: 70406 http://trac.macports.org/changeset/70406 Author: takeshi@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
participants (1)
-
takeshi@macports.org