Ticket #38571: Portfile-py-scipy.diff
File Portfile-py-scipy.diff, 2.5 KB (added by wimmer@…, 11 years ago) |
---|
-
Portfile
old new 62 62 63 63 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 64 64 65 patchfiles umfpack_extra_libs.patch 65 patchfiles umfpack_extra_libs.patch \ 66 arpack.patch 66 67 67 68 post-patch { 68 69 reinplace "s|@@MP_PREFIX@@|${prefix}|g" ${worksrcpath}/site.cfg … … 96 97 CXX="${prefix}/bin/g++-mp-4.3" 97 98 build.env-append CC="${prefix}/bin/gcc-mp-4.3" \ 98 99 CXX="${prefix}/bin/g++-mp-4.3" 100 if { ![variant_isset atlas] } { 101 build.env-append FFLAGS="-ff2c" 102 } 99 103 } 100 104 101 105 variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description "Use gfortran-mp-4.4 as fortran compiler" { … … 110 114 CXX="${prefix}/bin/g++-mp-4.4" 111 115 build.env-append CC="${prefix}/bin/gcc-mp-4.4" \ 112 116 CXX="${prefix}/bin/g++-mp-4.4" 117 if { ![variant_isset atlas] } { 118 build.env-append FFLAGS="-ff2c" 119 } 113 120 } 114 121 115 122 variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description "Use gfortran-mp-4.5 as fortran compiler" { … … 124 131 CXX="${prefix}/bin/g++-mp-4.5" 125 132 build.env-append CC="${prefix}/bin/gcc-mp-4.5" \ 126 133 CXX="${prefix}/bin/g++-mp-4.5" 134 if { ![variant_isset atlas] } { 135 build.env-append FFLAGS="-ff2c" 136 } 127 137 } 128 138 129 139 variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description "Use gfortran-mp-4.6 as fortran compiler" { … … 138 148 CXX="${prefix}/bin/g++-mp-4.6" 139 149 build.env-append CC="${prefix}/bin/gcc-mp-4.6" \ 140 150 CXX="${prefix}/bin/g++-mp-4.6" 151 if { ![variant_isset atlas] } { 152 build.env-append FFLAGS="-ff2c" 153 } 141 154 } 142 155 143 156 variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description "Use gfortran-mp-4.7 as fortran compiler" { … … 152 165 CXX="${prefix}/bin/g++-mp-4.7" 153 166 build.env-append CC="${prefix}/bin/gcc-mp-4.7" \ 154 167 CXX="${prefix}/bin/g++-mp-4.7" 168 if { ![variant_isset atlas] } { 169 build.env-append FFLAGS="-ff2c" 170 } 155 171 } 156 172 157 173 if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {