Subject: Re: CVS commit: pkgsrc/graphics/cairo
To: Roland Illig <rillig@NetBSD.org>
From: Jonathan Perkin <jonathan@perkin.org.uk>
List: pkgsrc-changes
Date: 11/01/2005 10:04:27
* On 2005-11-01 at 09:46 GMT, Roland Illig wrote:

> Jonathan Perkin wrote:
>
> >  /usr/sbin/pkgchk -l -p /usr/lib/libsunmath.so
> 
> rzdspc8:~: /usr/sbin/pkgchk -l -p /usr/lib/libsunmath.so
> Pathname: /usr/lib/libsunmath.so
> Type: symbolic link
> Source of link: /usr/lib/libsunmath.so.1
> Referenced by the following packages:
>         KDEkderuntime-330
> Current status: installed

Ok, so clearly a locally installed package and not part of any Sun
supplied software.

> > say?  libsunmath only (as far as I'm aware) comes with the Studio
> > suite, which installs itself by default self-contained in
> > /opt/SUNWspro which we reach into via SUNWSPROBASE.
> 
> That may be. I have installed both SUNWspro and gcc, so both will
> find it. Would a check for existance of /usr/lib/libsunmath.so be
> enough?

After a quick bit of research it looks as though my Solaris 10
machines have the *f functions available in the system libm, whereas
anything older does not.  I think the cleanest solution may be to add
autoconf checks for these functions and if they aren't available use
the non-f routines instead.

-- 
Jonathan Perkin                                     The NetBSD Project
http://www.perkin.org.uk/                       http://www.netbsd.org/