Subject: Re: is ${X11BASE} assumed to be writable?
To: Georg Schwarz <>
From: Juan RP <>
List: tech-pkg
Date: 03/20/2004 21:45:26
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Sat, 20 Mar 2004 21:24:38 +0100 (CET)
Georg Schwarz <> wrote:

> I see. I am probably confused about the precise meaning of X11BASE and the
> handling of X11-related files by pkgsrc in general.
> Is X11BASE used to indicate
> a) where to find X11-related system includes and libs?

Yes, because x11-links needs to know about X11BASE to create the symlinks.

> b) where to install files of X11-based packes?

USE_X11BASE is. (but it should be deprecated in the future).

> pkgtools/x11-links/Makefile checks for the presence of
> ${X11BASE}/include/X.h.
> Problem is that on IRIX 5.3 we have
> /usr/{bin,include,lib}/X11/, not ../X11*/{bin,include,lib}/
> pkgsrc probably does not provide a means to separately specify where to find
> X11 system executables, libraries, and includes, respectively, does it?

Yes, via pkgtools/x11-links.

> Is pkgtools/x11-links exactly meant as a fix for that, with X11BASE (in
> the case of IRIX 5.3) required to be /usr?

If you have X11BASE in other place than /usr/X11R6 (default location)
try specifying it in mk.conf, and rebuild x11-links.

> I would like pkgsrc not to write to /usr but to LOCALBASE only. Does it
> do so already by design?

Fix xpkgwedge, so all packages that are using USE_X11BASE will be installed

	Juan RP <>

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (NetBSD)