Subject: how to make pkgsrc correctly find system X11 libs?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 05/09/2004 01:05:51
I'm trying to compile X11-related packages on my IRIX 5.3 system. Most
of the time, when imake is used to generate the Makefile, this still
fails. pkgsrc/x11/xwit is a typical example:
...
bmake: don't know how to make /usr/local/pkg/lib/libXaw.so.2. Stop

The respective lines in the Makefile are:

X11_ROOT = /usr
SHLIBDIR = $(PREFIX)/lib
DEPXAWLIB =  $(ROOT)$(SHLIBDIR)/libXaw.so$(SOXAWREV)

ROOT seems to be empty.
bmake show-vars VARNAMES=PREFIX yields /usr/local/pkg,

libXaw.so.2 is at /usr/lib/libXaw.so.2 or, as a link created by
x11-links, at ${LOCALBASE}/share/x11-links/lib/libXaw.so.2

Which settings do I have to adjust in order to make the X11 libs being
found?
Thanks.

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