Subject: Re: pkg/32293: wm/wmdrawer Build problems on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 12/13/2005 17:10:03
The following reply was made to PR pkg/32293; it has been noted by GNATS.
From: joerg@britannica.bec.de
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/32293: wm/wmdrawer Build problems on Solaris
Date: Tue, 13 Dec 2005 18:08:57 +0100
On Tue, Dec 13, 2005 at 04:45:02PM +0000, Jeremy C. Reed wrote:
> The following reply was made to PR pkg/32293; it has been noted by GNATS.
>
> From: "Jeremy C. Reed" <reed@reedmedia.net>
> To: gnats-bugs@netbsd.org
> Cc: jakerosoft@gmail.com
> Subject: Re: pkg/32293: wm/wmdrawer Build problems on Solaris
> Date: Tue, 13 Dec 2005 08:44:33 -0800 (PST)
>
> On Tue, 13 Dec 2005, Juan RP wrote:
>
> > IMHO It's better to link to librt in the pkgsrc Makefile instead:
> >
> > LDFLAGS.SunOS+= -lrt
>
> I was wondering if it should add ${PTHREAD_LIBS} but I don't know if that
> will add parts not needed.
>
> (I didn't see the -lrt in the PTHREAD_LDFLAGS.)
Linking normally needs both PTHREAD_LDFLAGS and PTHREAD_LIBS. The former
is necessary e.g. on DragonFly, the latter is required e.g. for NetBSD.
Joerg