Subject: Re: USE_X11 and buildlink
To: Frederick Bruckman <fredb@immanent.net>
From: Mario Kemper <magick@netbsd.org>
List: tech-pkg
Date: 08/26/2001 16:59:02
On Sun, Aug 26, 2001 at 09:50:38AM -0500, Frederick Bruckman wrote:
> On Sun, 26 Aug 2001, Mario Kemper wrote:
>
> > 2. Nothing sets CFLAGS+=${X11BASE}/includes, neither USE_X11 nor
> > USE_X11BASE. Why?
> > LDFLAGS is set correctly by both options.
>
> Imake and configure, each, usually take care of that. Imake programs
> don't need to be buildlinked, and configure programs take arguments
> such as "--with-x=..." or "--with-x-includes=...". The reason we set
> LDFLAGS is because so few compilers recognize "-Wl,-R" options,
> therefore few programs set them. [For programs that use "libtool", we
> shouldn't have to set them at all, though.]
Not all x11 packages use imake or configure. They have a simple
makefile but usually honor CFLAGS and LDFLAGS being set externally.
--
Mario Kemper
magick@zhadum.de