[109100] trunk/dports/science/fcl/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 17:57:17 PDT 2013


Revision: 109100
          https://trac.macports.org/changeset/109100
Author:   jeremyhu at macports.org
Date:     2013-08-07 17:57:17 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
fcl: Match compilers better

Modified Paths:
--------------
    trunk/dports/science/fcl/Portfile

Modified: trunk/dports/science/fcl/Portfile
===================================================================
--- trunk/dports/science/fcl/Portfile	2013-08-08 00:56:00 UTC (rev 109099)
+++ trunk/dports/science/fcl/Portfile	2013-08-08 00:57:17 UTC (rev 109100)
@@ -18,9 +18,7 @@
                     sha1    808ebcb00ca527cbfbf826229ce560e6e88eccd1 \
                     rmd160  a0efd71bcdd94ea87608a2de685b3670fce9b162
 
-if {${configure.compiler} == "gcc-4.0" ||
-    ${configure.compiler} == "gcc-4.2" ||
-    ${configure.compiler} == "llvm-gcc-4.2"} {
+if {${configure.compiler} == "gcc-4.0" || [string match *gcc-4.2* ${configure.compiler}]} {
     # this flag disables the compile flag "-march=native",
     # which appears to be unsupported by these compilers
     configure.args-append -DFCL_USE_SSE=OFF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/808ef32e/attachment-0001.html>


More information about the macports-changes mailing list