Revision
110387
Author
jeremyhu@macports.org
Date
2013-08-30 13:15:19 -0700 (Fri, 30 Aug 2013)

Log Message

py-scipy: Fix test suite, changes from Jack Howarth

Modified Paths

Diff

Modified: trunk/dports/python/py-scipy/Portfile (110386 => 110387)


--- trunk/dports/python/py-scipy/Portfile	2013-08-30 20:11:40 UTC (rev 110386)
+++ trunk/dports/python/py-scipy/Portfile	2013-08-30 20:15:19 UTC (rev 110387)
@@ -6,7 +6,7 @@
 
 name                    py-scipy
 version                 0.12.0
-revision                2
+revision                3
 platforms               darwin
 license                 BSD
 maintainers             sean openmaintainer
@@ -59,9 +59,13 @@
     worksrcdir              ${distname}
 
     build.env-append        CCFLAGS="-I${prefix}/include -L${prefix}/lib"
-
     destroot.env-append     CCFLAGS="-I${prefix}/include -L${prefix}/lib"
 
+    if {[string match "*clang*" ${configure.compiler}]} {
+        build.env-append    FFLAGS="-ff2c"
+        destroot.env-append FFLAGS="-ff2c"
+    }
+
     patchfiles              umfpack_extra_libs.patch
 
     post-patch {