Ticket #21983: Portfile.2.diff
File Portfile.2.diff, 783 bytes (added by adfernandes (Andrew Fernandes), 15 years ago) |
---|
-
Portfile
5 5 6 6 name netcdf 7 7 version 4.0.1 8 revision 68 revision 7 9 9 maintainers takeshi openmaintainer 10 10 platforms darwin 11 11 categories science … … 79 79 } 80 80 81 81 variant netcdf4 description {compile with hdf5} { 82 configure.env-append LDFLAGS=-L${prefix}/lib LIBS= -lhdf582 configure.env-append LDFLAGS=-L${prefix}/lib LIBS="-lhdf5 -lhdf5_hl" 83 83 configure.args-append --enable-netcdf-4 \ 84 84 --enable-ncgen4 \ 85 85 --with-hdf5=${prefix} \