Ticket #60954: Portfile.patch
File Portfile.patch, 2.6 KB (added by platipodium (Carsten Lemmen), 4 years ago) |
---|
-
Portfile
old new 73 73 if {[vercmp [macports_version] 2.5.99] >= 0} { 74 74 build.env ESMF_DIR=${worksrcpath} \ 75 75 ESMF_F90=${configure.f90} \ 76 ESMF_F90COMPILEOPTS=${configure.f90flags} \77 76 ESMF_CXX=${configure.cxx} \ 78 77 ESMF_CXXCOMPILEOPTS=${configure.cxxflags} \ 79 78 ESMF_NETCDF=split \ … … 86 85 } else { 87 86 build.env ESMF_DIR=${worksrcpath} \ 88 87 ESMF_F90=${configure.f90} \ 89 ESMF_F90COMPILEOPTS="${configure.f90flags}" \90 88 ESMF_CXX=${configure.cxx} \ 91 89 ESMF_CXXCOMPILEOPTS="${configure.cxxflags}" \ 92 90 ESMF_NETCDF=split \ … … 104 102 build.env-append ESMF_LAPACK=system \ 105 103 ESMF_LAPACK_LIBS=-lsatlas 106 104 } 105 if {[variant_isset gfortran] || [variant_isset gcc10]} { 106 build.env-append ESMF_F90COMPILEOPTS="${configure.f90flags}"\ -fallow-argument-mismatch\ -fallow-invalid-boz 107 } elseif {[variant_isset atlas]} { 108 build.env-append ESMF_F90COMPILEOPTS="${configure.f90flags}" 109 } 107 110 if {[variant_isset g95]} { 108 111 build.env-append ESMF_COMPILER=g95 109 112 } else { … … 125 128 if {[vercmp [macports_version] 2.5.99] >= 0} { 126 129 destroot.env ESMF_DIR=${worksrcpath} \ 127 130 ESMF_F90=${configure.f90} \ 128 ESMF_F90COMPILEOPTS=${configure.f90flags} \129 131 "ESMF_F90LINKOPTS=-L${worksrcpath}/lib ${configure.ldflags}" \ 130 132 ESMF_CXX=${configure.cxx} \ 131 133 ESMF_CXXCOMPILEOPTS=${configure.cxxflags} \ … … 146 148 } else { 147 149 destroot.env ESMF_DIR=${worksrcpath} \ 148 150 ESMF_F90=${configure.f90} \ 149 ESMF_F90COMPILEOPTS="${configure.f90flags}" \150 151 ESMF_F90LINKOPTS="-L${worksrcpath}/lib ${configure.ldflags}" \ 151 152 ESMF_CXX=${configure.cxx} \ 152 153 ESMF_CXXCOMPILEOPTS="${configure.cxxflags}" \ … … 188 189 } else { 189 190 destroot.env-append ESMF_COMM=mpiuni 190 191 } 192 if {[variant_isset gfortran] || [variant_isset gcc10]} { 193 destroot.env-append ESMF_F90COMPILEOPTS="${configure.f90flags}"\ -fallow-argument-mismatch\ -fallow-invalid-boz 194 } elseif {[variant_isset atlas]} { 195 destroot.env-append ESMF_F90COMPILEOPTS="${configure.f90flags}" 196 } 197 191 198 } 192 199 193 200 variant accelerate conflicts atlas description {use Accelerate framework for LAPACK} {