Revision
76342
Author
snc@macports.org
Date
2011-02-20 03:27:21 -0800 (Sun, 20 Feb 2011)

Log Message

smodels: UsingTheRightCompiler

Modified Paths

Diff

Modified: trunk/dports/science/smodels/Portfile (76341 => 76342)


--- 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