Opened 13 years ago

Last modified 13 years ago

#30120 closed enhancement

NetCDF 4 c++ headers. — at Version 2

Reported by: SiggyF Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: netcdf

Description (last modified by mf2k (Frank Schima))

Starting from netCDF 4.1.1 netcdf has a new c++ interface. This can be build using:

 ./configure --enable-cxx-4 [plus other options]

Can you add this option to the netCDF portfile. I think the following should be added:

variant cxx-4 description {enable netCDF-4 c++ interface} {
    configure.args-delete   --disable-cxx-4
    configure.args-append   --enable-cxx-4
}

Or maybe it makes more sense to add it to the netcdf4 variant. For details about the new c++ interface, see: http://www.unidata.ucar.edu/software/netcdf/docs/cxx4/

Change History (2)

comment:1 Changed 13 years ago by SiggyF

Cc: f.baart@… added

Cc Me!

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Cc: f.baart@… removed
Description: modified (diff)
Keywords: c++ netcdf removed
Owner: changed from macports-tickets@… to takeshi@…
Version: 1.9.2
Note: See TracTickets for help on using tickets.