Subject: Re: fixing buildlink to not use lib*.la if not available
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/31/2004 19:54:41
On Sat, 31 Jan 2004, Jeremy C. Reed wrote:

> My work directory  has
> /scratch/pkgsrc/x11/qt3-libs/work.puget/.buildlink/.libX11_buildlink_done
> which contains:
>
> /include/X11/ImUtil.h: not found
> /include/X11/XKBlib.h: not found
> /include/X11/Xcms.h: not found
> /include/X11/Xlib.h: not found
> /include/X11/Xlibint.h: not found
> /include/X11/Xlocale.h: not found
> /include/X11/Xresource.h: not found
> /include/X11/Xutil.h: not found
> /include/X11/cursorfont.h: not found
> /include/X11/region.h: not found
> /lib/libX11.*: not found
>
> Hmmm... somewhere my /usr (LOCALBASE) is being chopped off.

I had tried to put the
.include "../../new/xlibs/buildlink2.mk" file directly in my
bsd.buildlink2.mk (and forced to not use x11-links).

But when I got rid of that and manually added
.include "../../new/xlibs/buildlink2.mk" to my qt3-libs/Makefile, they
were linked correctly. Now to let it build longer ...

Later, I will just put that .include directly in my bsd.pkg.mk so it will
work for all pkgsrc using USE_X11. (I had suggested USE_PKGSRC_X=xlibs as
what I will check.)

   Jeremy C. Reed
   http://www.reedmedia.net/