Opened 12 years ago

Closed 12 years ago

#36532 closed defect (wontfix)

cfitsio: should set library version number

Reported by: cdeil (Christoph Deil) Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cdeil (Christoph Deil), ryandesign (Ryan Carsten Schmidt)
Port: cfitsio

Description

Currently cfitsio doesn't set a library version number:

$ otool -L /opt/local/lib/libcfitsio.dylib 
/opt/local/lib/libcfitsio.dylib:
	/opt/local/lib/libcfitsio.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)

What has to be changed in the Portfile to properly set the dylib version number?

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

This goes in their configure script. We are already patching their configure script to set the correct install_name; that could be amended to also set the right current_version and compatibility_version. But I don't know what the correct library version numbers would be. (They're usually not the same as the project version number.) Really, we shouldn't have to be doing any of this; it's the developers' responsibility to set those correctly.

comment:2 Changed 12 years ago by cdeil (Christoph Deil)

I contacted the cfitsio library developer and he said they would set the current and compatibility version in future releases. Please close this ticket.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.