[91602] trunk/dports/science/fasthenry-wr/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Fri Apr 6 12:05:59 PDT 2012


Revision: 91602
          https://trac.macports.org/changeset/91602
Author:   macsforever2000 at macports.org
Date:     2012-04-06 12:05:58 -0700 (Fri, 06 Apr 2012)
Log Message:
-----------
fasthenry-wr: Drop to llvm-gcc if using clang to fix code errors. (#33915)

Modified Paths:
--------------
    trunk/dports/science/fasthenry-wr/Portfile

Modified: trunk/dports/science/fasthenry-wr/Portfile
===================================================================
--- trunk/dports/science/fasthenry-wr/Portfile	2012-04-06 18:54:30 UTC (rev 91601)
+++ trunk/dports/science/fasthenry-wr/Portfile	2012-04-06 19:05:58 UTC (rev 91602)
@@ -28,6 +28,14 @@
 
 use_configure    no
 
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
+build.args-append       CC=${configure.cc} \
+                        CXX=${configure.cxx} \
+                        CPP=${configure.cpp}
+
 destroot {
     xinstall -m 755 -W ${worksrcpath}/bin fasthenry zbuf ${destroot}${prefix}/bin
     set docdir ${prefix}/share/doc/fasthenry-wr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120406/c6dece74/attachment-0001.html>


More information about the macports-changes mailing list