Subject: Where is ${LOCALBASE}/share/x11-links being used?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 02/07/2005 01:13:43
I am currently trying to understand how X11 build supports with pkgsrc
(or rather why some of it does not work on my system, IRIX 5.
Admittingly it is probably my fault for not setting things up
completely...).
I see that pkgtools/x11-links links a bunch of system files under
${LOCALBASE}/share/x11-links. Where (by what means) is that path then
referenced and used later on?

To illustrate my problem, here is the log from building x11/xearth, as
an example:

bmake: don't know how to make /usr/local/pkg/lib/libXt.so. Stop


/usr/local/pkg is my LOCALBASE.
In the xmkmf-created Makefile I have:

DEPXTOOLONLYLIB =  $(ROOT)$(SHLIBDIR)/libXt.so$(SOXTREV)

with SHLIBDIR = $(PREFIX)/lib
ROOT seems to be empty.
Should PREFIX rather be ${LOCALBASE}/share/x11-links, or maybe SHLIBDIR
should be ${LOCALBASE}/share/x11-links/lib?
If so, where should that be set? pkgxmkmf?

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 georg.schwarz@freenet.de   +49 177 8811442