[116610] trunk/dports/math/fftw-3/Portfile

sean at macports.org sean at macports.org
Thu Jan 30 10:19:55 PST 2014


Revision: 116610
          https://trac.macports.org/changeset/116610
Author:   sean at macports.org
Date:     2014-01-30 10:19:55 -0800 (Thu, 30 Jan 2014)
Log Message:
-----------
fftw-3-long: clean up configure options and fix #42314

Modified Paths:
--------------
    trunk/dports/math/fftw-3/Portfile

Modified: trunk/dports/math/fftw-3/Portfile
===================================================================
--- trunk/dports/math/fftw-3/Portfile	2014-01-30 18:10:33 UTC (rev 116609)
+++ trunk/dports/math/fftw-3/Portfile	2014-01-30 18:19:55 UTC (rev 116610)
@@ -86,19 +86,6 @@
 
 use_parallel_build yes
 
-platform i386 {
-    pre-configure {
-        if {![variant_isset universal]} {
-            if {$subport ne "fftw-3-long"} {
-                configure.args-append --enable-sse2
-            }
-            if { [avx_compiler_isset] == 1 } {
-                configure.args-append --enable-avx
-            }
-        }
-    }
-}
-
 platform powerpc {
   if {![variant_isset universal]} {
     configure.args-append --enable-fma
@@ -170,33 +157,17 @@
 subport fftw-3-long {
     configure.args-append --enable-long-double
 
-    pre-configure {
-        if { [avx_compiler_isset] == 1 } {
-            configure.args-delete --enable-avx
-        }
-    }
-
-    array set merger_configure_args {
-        ppc    ""
-        ppc64  ""
-        i386   ""
-        x86_64 ""
-    }
-
     depends_lib port:fftw-3
 
-    platform i386 {
-        if {![variant_isset universal]} {
-            configure.args-delete --enable-sse2
+    pre-configure {
+        array set merger_configure_args {
+            ppc    "--enable-fma --enable-altivec"
+            ppc64  "--enable-fma --enable-altivec"
+            i386   ""
+            x86_64 ""
         }
     }
 
-    platform powerpc {
-        if {![variant_isset universal]} {
-            configure.args-delete --enable-fma
-        }
-    }
-
     post-destroot {
         file delete ${destroot}${prefix}/include/fftw3.f
         file delete ${destroot}${prefix}/include/fftw3.f03
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140130/7bc279e9/attachment.html>


More information about the macports-changes mailing list