Subject: Re: how do we choose png so major and minor?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: tech-pkg
Date: 09/17/2004 18:38:55
On Thu, Sep 16, 2004 at 03:20:20PM -0700, Jeremy C. Reed wrote:
> I am testing 1.2.7 on FreeBSD (using pkgsrc of course).
> 
> How do we choose png library major and minor?
> 
> Our pkgsrc uses:
> 
> LIBPNG_SO_MAJOR=        3
> LIBPNG_SO_MINOR=        1
...
> The original source uses like:
> 
> LIBNAME = libpng12
> PNGMAJ = 0
> PNGMIN = 1.2.7
> PNGVER = $(PNGMAJ).$(PNGMIN)

scripts/makefile.netbsd

says

LIB=    png
SHLIB_MAJOR=    3
SHLIB_MINOR=    1.2.7

giving you libpng.so.3.1.2.7

but I don't think it really matters as libpng.so.3 -> libpng.so.3.1.2.7
or whatever...

Cheers,

Patrick