[117037] trunk/dports/python/py-scipy/Portfile

hum at macports.org hum at macports.org
Thu Feb 13 08:17:13 PST 2014


Revision: 117037
          https://trac.macports.org/changeset/117037
Author:   hum at macports.org
Date:     2014-02-13 08:17:13 -0800 (Thu, 13 Feb 2014)
Log Message:
-----------
py-scipy: add f77flags, f90flags, CFLAGS and CXXFLAGS.

Modified Paths:
--------------
    trunk/dports/python/py-scipy/Portfile

Modified: trunk/dports/python/py-scipy/Portfile
===================================================================
--- trunk/dports/python/py-scipy/Portfile	2014-02-13 16:14:16 UTC (rev 117036)
+++ trunk/dports/python/py-scipy/Portfile	2014-02-13 16:17:13 UTC (rev 117037)
@@ -103,15 +103,19 @@
         }
     }
 
-    set fc_options      "config_fc --fcompiler gnu95 --f77exec ${configure.f77} --f90exec ${configure.f90}"
+    set fc_options      "config_fc --fcompiler gnu95 --f77exec ${configure.f77} --f77flags=${configure.f77_archflags} --f90exec ${configure.f90} --f90flags=${configure.f90_archflags}"
     set config_options  "config --cc ${configure.cc} --include-dirs ${prefix}/include --library-dirs ${prefix}/lib"
     build.cmd-append    ${fc_options} ${config_options}
     destroot.cmd-append ${fc_options} ${config_options}
 
     build.env-append    CC="${configure.cc}" \
-                        CXX="${configure.cxx}"
+                        CXX="${configure.cxx}" \
+                        CFLAGS="${configure.cc_archflags}" \
+                        CXXFLAGS="${configure.cxx_archflags}"
     destroot.env-append CC="${configure.cc}" \
-                        CXX="${configure.cxx}"
+                        CXX="${configure.cxx}" \
+                        CFLAGS="${configure.cc_archflags}" \
+                        CXXFLAGS="${configure.cxx_archflags}"
 
     livecheck.type          none
 } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140213/7238a6b0/attachment.html>


More information about the macports-changes mailing list