Ticket #19772: Portfile.diff
File Portfile.diff, 1.8 KB (added by tenomoto (Takeshi Enomoto), 15 years ago) |
---|
-
Portfile
old new 4 4 5 5 name netcdf 6 6 version 4.0.1 7 revision 17 revision 2 8 8 maintainers nomaintainer 9 9 platforms darwin 10 10 categories science … … 31 31 sha1 96b361de72bcf68eaba42e7e5cf0f92c33d288e9 \ 32 32 rmd160 ba74363bbc4c76fc1bbac578ba4c2af4739b4958 33 33 34 35 36 34 depends_lib port:szip \ 37 port:hdf5-18 \ 38 port:openmpi 35 port:hdf5-18 39 36 40 configure.fc openmpif7741 configure.cc openmpicc42 configure.cxx openmpicxx43 37 configure.cppflags "-DNDEBUG -Df2cFortran" 44 38 configure.cxxflags "-O2 -fno-common" 45 39 configure.cflags "-O2 -fno-common" 46 configure.args \ 47 --enable-shared \ 48 --enable-netcdf-4 \ 49 --with-hdf5=${prefix} \ 50 --with-szlib=${prefix} 40 configure.args --enable-shared \ 41 --enable-netcdf-4 \ 42 --enable-ncgen4 \ 43 --disable-f77 \ 44 --with-hdf5=${prefix} \ 45 --with-szlib=${prefix} 51 46 52 47 test.run yes 53 48 test.target check … … 61 56 } 62 57 63 58 variant g95 description {Enable Fortran support with g95} { 64 depends_lib port:g9559 depends_lib-append port:g95 65 60 configure.args-delete --disable-f77 66 configure.fc ${prefix}/bin/g9561 configure.fc ${prefix}/bin/g95 67 62 configure.env-append FCFLAGS=-O2 68 63 } 64 65 variant openmpi description {compile with openmpi} { 66 depends_lib-append port:openmpi 67 configure.fc openmpif77 68 configure.cc openmpicc 69 configure.cxx openmpicxx 70 } 71 72 variant dap description {enable dap} { 73 depends_lib-append port:curl 74 configure.args-append --enable-dap 75 }