Ticket #37422: Portfile-hdf5-18.diff
File Portfile-hdf5-18.diff, 2.9 KB (added by johnsonsr@…, 12 years ago) |
---|
-
Portfile
old new 88 88 variant fortran description { 89 89 Enable fortran bindings. If combined with +openmpi or +mpich2, the\ 90 90 respective MPI package must have been built with fortran support. 91 Must be combined with +gcc44, +gcc45, +gcc46, + mpich2, or +openmpi91 Must be combined with +gcc44, +gcc45, +gcc46, +gcc47, +mpich2, or +openmpi 92 92 +fortran is EXPERIMENTAL with +threadsafe 93 93 } { 94 94 configure.args-delete --disable-fortran … … 100 100 [variant_isset openmpi ] || 101 101 [variant_isset gcc44] || 102 102 [variant_isset gcc45] || 103 [variant_isset gcc46]) } { 103 [variant_isset gcc46] || 104 [variant_isset gcc47]) } { 104 105 ui_error "+fortran requires +mpich2, +openmpi, or +gccNN" 105 106 return -code error 106 107 } … … 145 146 variant openmpi description { 146 147 Enable Parallel HDF5 with openmpi. Uses compiler selected with openmpi. 147 148 +openmpi is EXPERIMENTAL with +cxx or +threadsafe. 148 } conflicts universal mpich2 gcc44 gcc45 gcc46 {149 } conflicts universal mpich2 gcc44 gcc45 gcc46 gcc47 { 149 150 depends_lib-append port:openmpi 150 151 configure.cc ${prefix}/bin/openmpicc 151 152 configure.cxx ${prefix}/bin/openmpicxx … … 156 157 variant mpich2 description { 157 158 Enable Parallel HDF5 with mpich2. Uses compiler selected with mpich2. 158 159 +mpich2 is EXPERIMENTAL with +cxx or +threadsafe. 159 } conflicts universal openmpi gcc44 gcc45 gcc46 {160 } conflicts universal openmpi gcc44 gcc45 gcc46 gcc47 { 160 161 depends_lib-append path:bin/mpicc:mpich2 161 162 configure.cc ${prefix}/bin/mpicc 162 163 configure.cxx ${prefix}/bin/mpicxx … … 179 180 180 181 variant gcc44 description { 181 182 Build with MacPorts' gcc44 compiler. 182 } conflicts universal gcc45 gcc46 openmpi mpich2 {183 } conflicts universal gcc45 gcc46 gcc47 openmpi mpich2 { 183 184 depends_lib-append port:gcc44 184 185 configure.compiler macports-gcc-4.4 185 186 } 186 187 187 188 variant gcc45 description { 188 189 Build with MacPorts' gcc45 compiler. 189 } conflicts universal gcc44 gcc46 openmpi mpich2 {190 } conflicts universal gcc44 gcc46 gcc47 openmpi mpich2 { 190 191 depends_lib-append port:gcc45 191 192 configure.compiler macports-gcc-4.5 192 193 } 193 194 194 195 variant gcc46 description { 195 196 Build with MacPorts' gcc46 compiler. 196 } conflicts universal gcc44 gcc45 openmpi mpich2 {197 } conflicts universal gcc44 gcc45 gcc47 openmpi mpich2 { 197 198 depends_lib-append port:gcc46 198 199 configure.compiler macports-gcc-4.6 199 200 } 200 201 202 variant gcc47 description { 203 Build with MacPorts' gcc47 compiler. 204 } conflicts universal gcc44 gcc45 gcc46 openmpi mpich2 { 205 depends_lib-append port:gcc47 206 configure.compiler macports-gcc-4.7 207 } 208 201 209 202 210 livecheck.type regex 203 211 livecheck.url http://www.hdfgroup.org/HDF5/release/obtain5.html