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

mmoll at macports.org mmoll at macports.org
Wed Jul 16 07:36:46 PDT 2014


Revision: 122168
          https://trac.macports.org/changeset/122168
Author:   mmoll at macports.org
Date:     2014-07-16 07:36:46 -0700 (Wed, 16 Jul 2014)
Log Message:
-----------
science/fcl: possible fix for OS X 10.6

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

Modified: trunk/dports/science/fcl/Portfile
===================================================================
--- trunk/dports/science/fcl/Portfile	2014-07-16 14:34:46 UTC (rev 122167)
+++ trunk/dports/science/fcl/Portfile	2014-07-16 14:36:46 UTC (rev 122168)
@@ -9,6 +9,7 @@
 description         A Flexible Collision Library
 long_description    $description
 github.setup        flexible-collision-library fcl 0.3.1
+revision            1
 homepage            http://gamma.cs.unc.edu/FCL
 platforms           darwin
 license             BSD
@@ -17,13 +18,10 @@
 checksums           md5     81a5a628f2a226295141d244ade33885 \
                     sha1    2b09a48bbbc56e7935d2d263d27f927dfe33ed55 \
                     rmd160  f2e0c8194ae26f885751e6e1213cd95d2eab96bc
+compiler.blacklist  gcc-4.0 gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
 
-# this just enables "-march=native"
-configure.args-append -DFCL_USE_SSE=ON
-
-if {${configure.compiler} eq "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
-    configure.args-delete -DFCL_USE_SSE=ON
+# this should just enable "-march=native", but seems to cause errors with gcc*
+if {[string match *clang* ${configure.compiler}]} {
+    configure.args-append -DFCL_USE_SSE=ON
 }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140716/6e6c984c/attachment.html>


More information about the macports-changes mailing list