Subject: Re: Proposal: buildlink for X11
To: None <tech-pkg@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 08/21/2001 13:30:08
[ On Tuesday, August 21, 2001 at 12:06:27 (-0500), Frederick Bruckman wrote: ]
> Subject: Re: Proposal: buildlink for X11
>
> I see. So you'll buildlink in the other stuff. And you'll patch the
> hard-coded path to /usr/X11R6 out of every GNU/automake package that
> looks for "X" there?
I wasn't aware that there were many Autoconf-using packages that
hard-coded /usr/X11R6, especially not if they also use Automake.
There is, after all, a set of custom "configure" flags to explicitly
specify the location of the X11 headers and libraries and to override
the default search done by the related Autoconf macro:
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
If I'm not seeing results of my own hacks it would seem that bsd.pkg.mk
already passes these flags to configure (though maybe not yet at exactly
the right time & place for all situations).
--
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods@acm.org> <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>