Subject: Re: CVS commit: pkgsrc/graphics/cairo
To: Roland Illig <rillig@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: pkgsrc-changes
Date: 11/03/2005 10:52:24
On Tue, Nov 01, 2005 at 11:02:09AM +0100, Roland Illig wrote:

> >I think this needs to be dependant on PKGSRC_COMPILER=sunpro, and that
> >we need to add -L${SUNWSPROBASE}/lib to LDFLAGS in sunpro.mk.
> >
> >Sound reasonable?
> 
> No. :)
> 
> I just tried to build without LIBS.SunOS+=-lsunmath, but with 
> PKGSRC_COMPILER=gcc, and it failed.

see the comment in mk/wrapper/transform-sunpro-cc:

######################################################################
# -fast implies -xlibmopt, which uses the optimized math routines in
# libsunmath. libsunmath is only available as part of SunPro, so
# disable the use of the optimized math library (at least until it can
# be statically linked).
######################################################################

so, the question is, why is sunpro still using libsunmath, when the
-fast transform adds '-xnolibmopt' to specifically avoid this..

grant.