[59608] trunk/dports/python/py26-numpy/Portfile

jameskyle at macports.org jameskyle at macports.org
Sat Oct 17 15:56:00 PDT 2009


Revision: 59608
          http://trac.macports.org/changeset/59608
Author:   jameskyle at macports.org
Date:     2009-10-17 15:55:57 -0700 (Sat, 17 Oct 2009)
Log Message:
-----------
Added ATLAS, LAPACK, and BLAS build environment to point to macports libs.

Modified Paths:
--------------
    trunk/dports/python/py26-numpy/Portfile

Modified: trunk/dports/python/py26-numpy/Portfile
===================================================================
--- trunk/dports/python/py26-numpy/Portfile	2009-10-17 22:55:55 UTC (rev 59607)
+++ trunk/dports/python/py26-numpy/Portfile	2009-10-17 22:55:57 UTC (rev 59608)
@@ -25,8 +25,15 @@
                         patch-npy_endian.h.diff
 
 depends_lib-append      port:fftw-3 \
-                        port:py26-nose
+                        port:py26-nose \
+                        port:atlas
 
+build.env-append        ATLAS=${prefix}/lib \
+                        LAPACK=${prefix}/lib \
+                        BLAS=${prefix}/lib
+
+configure.compiler      macports-gcc-4.3
+
 post-patch {
     reinplace "s|@@MPORTS_PYTHON_LIBRARY@@|${python.lib}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py
     reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" ${worksrcpath}/numpy/f2py/setup.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091017/0ad62156/attachment.html>


More information about the macports-changes mailing list