Ticket #25206: Portfile_py26-numpy.patch
File Portfile_py26-numpy.patch, 2.0 KB (added by shawn@…, 14 years ago) |
---|
-
Portfile
29 29 depends_lib-append port:fftw-3 \ 30 30 port:py26-nose \ 31 31 port:atlas \ 32 port:gcc4 332 port:gcc44 33 33 34 if {![variant_isset no_gcc4 3]} {35 configure.compiler macports-gcc-4. 334 if {![variant_isset no_gcc44]} { 35 configure.compiler macports-gcc-4.4 36 36 } 37 37 38 build.env-append CC="${prefix}/bin/gcc-mp-4. 3" \39 CXX="${prefix}/bin/g++-mp-4. 3" \38 build.env-append CC="${prefix}/bin/gcc-mp-4.4" \ 39 CXX="${prefix}/bin/g++-mp-4.4" \ 40 40 ATLAS=${prefix}/lib \ 41 41 LAPACK=${prefix}/lib \ 42 42 BLAS=${prefix}/lib 43 43 44 destroot.env-append CC="${prefix}/bin/gcc-mp-4. 3" \45 CXX="${prefix}/bin/g++-mp-4. 3" \44 destroot.env-append CC="${prefix}/bin/gcc-mp-4.4" \ 45 CXX="${prefix}/bin/g++-mp-4.4" \ 46 46 ATLAS=${prefix}/lib \ 47 47 LAPACK=${prefix}/lib \ 48 48 BLAS=${prefix}/lib … … 51 51 reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" ${worksrcpath}/numpy/f2py/setup.py 52 52 } 53 53 54 variant no_gcc4 3 description {Do not use the gcc43compiler (disables fortran code)} {55 depends_lib-delete port:gcc4 356 build.env-delete CC="${prefix}/bin/gcc-mp-4. 3" \57 CXX="${prefix}/bin/g++-mp-4. 3"54 variant no_gcc44 description {Do not use the gcc44 compiler (disables fortran code)} { 55 depends_lib-delete port:gcc44 56 build.env-delete CC="${prefix}/bin/gcc-mp-4.4" \ 57 CXX="${prefix}/bin/g++-mp-4.4" 58 58 59 destroot.env-delete CC="${prefix}/bin/gcc-mp-4. 3" \60 CXX="${prefix}/bin/g++-mp-4. 3"59 destroot.env-delete CC="${prefix}/bin/gcc-mp-4.4" \ 60 CXX="${prefix}/bin/g++-mp-4.4" 61 61 } 62 62 63 63 variant no_atlas description {Do not use the macports atlas libs} {