Opened 13 years ago

Closed 12 years ago

#30267 closed enhancement (invalid)

netcdf - added a largefile variant that makes changes to netcdf.h

Reported by: johntfosterjr@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: netcdf

Description

Created a patch file to make changes to netcdf.h to support exodusii "largefile" datasets. This is needed to create an exodusii port. Added the variant "largefiles" to the Portfile.

Attachments (2)

Portfile-netcdf.diff (344 bytes) - added by johntfosterjr@… 13 years ago.
Portfile patch
patch-include-netcdf.h.diff (906 bytes) - added by johntfosterjr@… 13 years ago.
patch for netcdf.h to allow for exodusii largefile dataset

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by johntfosterjr@…

Attachment: Portfile-netcdf.diff added

Portfile patch

Changed 13 years ago by johntfosterjr@…

Attachment: patch-include-netcdf.h.diff added

patch for netcdf.h to allow for exodusii largefile dataset

comment:1 Changed 13 years ago by johntfosterjr@…

Cc: johntfosterjr@… added

Cc Me!

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

Cc: johntfosterjr@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to takeshi@…
Version: 1.9.2

The reporter is automatically Cc'ed.

comment:3 Changed 13 years ago by tenomoto (Takeshi Enomoto)

netcdf is one of the basic library for science applications. It is better to keep it as it is. Doesn't the proposed changes affect other ports? Does exodusii need the header after installation? If it requires a modified header at the compile time, just make a copy of netcdf.h, edit and use it for build. If exodusii is a framework and it needs the modified header at runtime, you could install the modified header at different location (include/exodusii/netcdf.h) or a different name (netcdf-exodusii.h).

comment:4 Changed 12 years ago by tenomoto (Takeshi Enomoto)

I could add netcdf-largefiles subport. Everything will be installed in ${prefix}/lib/netcdf-largefiles. If you are still going to port exodusii to MacPorts, I will commit the change to add the subport. Otherwise, I'd like you to use the local tree feature for your own purpose.

comment:5 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Resolution: invalid
Status: newclosed

I close this ticket for now. I am ready to create the subport if you need it for another port.

Note: See TracTickets for help on using tickets.