Ticket #39365: Portfile-arpack.4.diff
File Portfile-arpack.4.diff, 1.2 KB (added by dstrubbe (David Strubbe), 11 years ago) |
---|
-
Portfile
old new 37 37 ui_error "${name} ${version} requires Mac OS X 10.5 or greater" 38 38 return -code error "incompatible Mac OS X version" 39 39 } 40 } 40 41 42 pre-configure { 41 43 if {[variant_isset openmpi]} { 42 44 if { ![active_variants openmpi gcc43] && ![active_variants openmpi gcc44] && \ 43 45 ![active_variants openmpi gcc45] && ![active_variants openmpi gcc46] && \ … … 46 48 ui_error "${name} with +openmpi requires that openmpi was built with a Fortran variant" 47 49 return -code error "openmpi needs Fortran variant" 48 50 } 51 52 # see g95 variant below for explanation 53 if { [active_variants openmpi g95] } { 54 configure.args-append --disable-shared 55 } 49 56 } 50 57 51 58 if {[variant_isset mpich]} { … … 75 82 configure.args-delete --disable-mpi 76 83 configure.args-append --enable-mpi 77 84 configure.env-append F77=${prefix}/bin/openmpif77 78 # see g95 variant below for explanation79 if { [active_variants openmpi g95] } {80 configure.args-append --disable-shared81 }82 85 } 83 86 84 87 variant mpich description {build PARPACK, with MPICH} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 g95 openmpi {