Ticket #40003: wgrib2.diff
File wgrib2.diff, 1.3 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
38 38 use_configure no 39 39 use_parallel_build no 40 40 41 if {[variant_isset universal]} {42 set cflags "${configure.cflags} ${configure.universal_cflags}"43 set ldflags "${configure.ldflags} ${configure.universal_ldflags}"44 } else {45 set cflags "${configure.cflags} ${configure.cc_archflags}"46 set ldflags "${configure.ldflags} ${configure.cc_archflags}"47 }48 41 set ip ${worksrcpath}/iplib.${version_iplib} 49 42 set lipolate ${ip}/libipolate.a 50 43 set g2c ${worksrcpath}/g2clib-${version_g2clib} … … 84 77 configure.fc ${prefix}/bin/gfortran-mp-4.8 85 78 } 86 79 87 build.env LDFLAGS=\"${libs} ${configure.ldflags} -lpng -ljasper -lnetcdf\" \80 build.env LDFLAGS=\"${libs} ${configure.ldflags} [get_canonical_archflags ld] -lpng -ljasper -lnetcdf\" \ 88 81 CC=\"${configure.cc}\" \ 89 82 CPPFLAGS=\"${fsymbol} ${configure.cppflags}\" \ 90 CFLAGS=\"${c flags}\"83 CFLAGS=\"${configure.cflags} [get_canonical_archflags cc]\" 91 84 build.args "-f makefile \ 92 85 zlib=\"\" plib=\"\" jlib=\"\" h5lib=\"\" n4lib=\"\" \ 93 86 iip=\"${iip}\" "