Ticket #25206: Portfile_py25-numpy.patch
File Portfile_py25-numpy.patch, 1.9 KB (added by shawn@…, 14 years ago) |
---|
-
Portfile
27 27 depends_lib-append port:fftw-3 \ 28 28 port:py25-nose \ 29 29 port:atlas \ 30 port:gcc4 330 port:gcc44 31 31 32 if {![variant_isset no_gcc4 3]} {33 configure.compiler macports-gcc-4. 332 if {![variant_isset no_gcc44]} { 33 configure.compiler macports-gcc-4.4 34 34 } 35 35 36 build.env-append CC="${prefix}/bin/gcc-mp-4. 3" \37 CXX="${prefix}/bin/g++-mp-4. 3" \36 build.env-append CC="${prefix}/bin/gcc-mp-4.4" \ 37 CXX="${prefix}/bin/g++-mp-4.4" \ 38 38 ATLAS=${prefix}/lib \ 39 39 LAPACK=${prefix}/lib \ 40 40 BLAS=${prefix}/lib 41 41 42 destroot.env-append CC="${prefix}/bin/gcc-mp-4. 3" \43 CXX="${prefix}/bin/g++-mp-4. 3" \42 destroot.env-append CC="${prefix}/bin/gcc-mp-4.4" \ 43 CXX="${prefix}/bin/g++-mp-4.4" \ 44 44 ATLAS=${prefix}/lib \ 45 45 LAPACK=${prefix}/lib \ 46 46 BLAS=${prefix}/lib … … 55 55 } 56 56 } 57 57 58 variant no_gcc4 3 description {Do not use the gcc43compiler (disables fortran code)} {59 depends_lib-delete port:gcc4 360 build.env-delete CC="${prefix}/bin/gcc-mp-4. 3" \61 CXX="${prefix}/bin/g++-mp-4. 3"58 variant no_gcc44 description {Do not use the gcc44 compiler (disables fortran code)} { 59 depends_lib-delete port:gcc44 60 build.env-delete CC="${prefix}/bin/gcc-mp-4.4" \ 61 CXX="${prefix}/bin/g++-mp-4.4" 62 62 63 destroot.env-delete CC="${prefix}/bin/gcc-mp-4. 3" \64 CXX="${prefix}/bin/g++-mp-4. 3"63 destroot.env-delete CC="${prefix}/bin/gcc-mp-4.4" \ 64 CXX="${prefix}/bin/g++-mp-4.4" 65 65 } 66 66 67 67 variant no_atlas description {Do not use the macports atlas libs} {