[76342] trunk/dports/science/smodels/Portfile
snc at macports.org
snc at macports.org
Sun Feb 20 03:27:23 PST 2011
Revision: 76342
http://trac.macports.org/changeset/76342
Author: snc at macports.org
Date: 2011-02-20 03:27:21 -0800 (Sun, 20 Feb 2011)
Log Message:
-----------
smodels: UsingTheRightCompiler
Modified Paths:
--------------
trunk/dports/science/smodels/Portfile
Modified: trunk/dports/science/smodels/Portfile
===================================================================
--- trunk/dports/science/smodels/Portfile 2011-02-20 11:23:53 UTC (rev 76341)
+++ trunk/dports/science/smodels/Portfile 2011-02-20 11:27:21 UTC (rev 76342)
@@ -24,11 +24,13 @@
checksums sha1 cf3dd5a517afabaa858ccd63ff3e8b38e322f5eb \
rmd160 032b9063635a1025dbe3528a7a803a7f2ccef9e0
+configure.cxx /usr/bin/g++-4.2
configure.optflags -O3
patch {
reinplace s|/usr/bin|${prefix}/bin|g ${worksrcpath}/Makefile
reinplace s|/usr/local/lib|${prefix}/lib|g ${worksrcpath}/Makefile
reinplace "s|-O3 -Wall -W|${configure.cxxflags}|g" ${worksrcpath}/Makefile
+ reinplace s|g\+\+|${configure.cxx}|g ${worksrcpath}/Makefile
}
use_configure no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110220/bea0dfcb/attachment.html>
More information about the macports-changes
mailing list