Revision: 76346 http://trac.macports.org/changeset/76346 Author: snc@macports.org Date: 2011-02-20 04:34:39 -0800 (Sun, 20 Feb 2011) Log Message: ----------- smodels: * check configurepipe * check build_arch Modified Paths: -------------- trunk/dports/science/smodels/Portfile Modified: trunk/dports/science/smodels/Portfile =================================================================== --- trunk/dports/science/smodels/Portfile 2011-02-20 11:47:46 UTC (rev 76345) +++ trunk/dports/science/smodels/Portfile 2011-02-20 12:34:39 UTC (rev 76346) @@ -25,6 +25,10 @@ rmd160 032b9063635a1025dbe3528a7a803a7f2ccef9e0 configure.optflags -O3 +if {[string match ${configurepipe} yes]} { + configure.cxxflags-append -pipes +} +configure.cxxflags-append -arch ${build_arch} patch { reinplace s|/usr/bin|${prefix}/bin|g ${worksrcpath}/Makefile reinplace s|/usr/local/lib|${prefix}/lib|g ${worksrcpath}/Makefile