[60002] trunk/dports/python/py26-numpy/Portfile
jmr at macports.org
jmr at macports.org
Wed Oct 28 17:53:56 PDT 2009
Revision: 60002
http://trac.macports.org/changeset/60002
Author: jmr at macports.org
Date: 2009-10-28 17:53:55 -0700 (Wed, 28 Oct 2009)
Log Message:
-----------
py26-numpy: fix compiler selection, variant descriptions
Modified Paths:
--------------
trunk/dports/python/py26-numpy/Portfile
Modified: trunk/dports/python/py26-numpy/Portfile
===================================================================
--- trunk/dports/python/py26-numpy/Portfile 2009-10-29 00:53:52 UTC (rev 60001)
+++ trunk/dports/python/py26-numpy/Portfile 2009-10-29 00:53:55 UTC (rev 60002)
@@ -29,7 +29,9 @@
port:atlas \
port:gcc43
-configure.compiler macports-gcc-4.3
+if {![variant_isset no_gcc43]} {
+ configure.compiler macports-gcc-4.3
+}
build.env-append CC="${prefix}/bin/gcc-mp-4.3" \
CXX="${prefix}/bin/g++-mp-4.3" \
@@ -53,10 +55,8 @@
ln -s ${python.prefix}/bin/f2py ${destroot}${prefix}/bin/f2py-${branch}
}
-variant no_gcc43 description {"Do not use the gcc43 compiler"} {
+variant no_gcc43 description {Do not use the gcc43 compiler (disables fortran code)} {
depends_lib-delete port:gcc43
- configure.compiler gcc-4.0
-
build.env-delete CC="${prefix}/bin/gcc-mp-4.3" \
CXX="${prefix}/bin/g++-mp-4.3"
@@ -64,7 +64,7 @@
CXX="${prefix}/bin/g++-mp-4.3"
}
-variant no_atlas description {"Do not use the macports atlas libs"} {
+variant no_atlas description {Do not use the macports atlas libs} {
build.env-delete ATLAS=${prefix}/lib \
LAPACK=${prefix}/lib \
BLAS=${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091028/9fe1f3ac/attachment.html>
More information about the macports-changes
mailing list