Subject: Re: ORBit didn't buildlink any include or libraries
To: Min Sik Kim <minskim@bawi.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/31/2004 19:14:59
On Sat, 31 Jan 2004, Min Sik Kim wrote:
> Did you try 'find work.puget/.x11-buildlink/'?
I guess you mean .buildlink-x11. Normally it is the same directory (a
symlink to .buildlink).
> I found the following
> lines in mk/buildlink3/bsd.buildlink3.mk (lines 497-500).
>
> case ${BUILDLINK_PREFIX.${_pkg_}} in \
> ${X11BASE}) buildlink_dir="${BUILDLINK_X11_DIR}" ;; \
> *) buildlink_dir="${BUILDLINK_DIR}" ;; \
> esac; \
>
> So, if X11BASE = BUILDLINK_PREFIX.glib as in your case, buildlink is
> done in BUILDLINK_X11_DIR, instead of BUILDLINK_DIR.
>
> It doesn't matter if USE_X11 is set, because then BUILDLINK_X11_DIR is
> just a symlink to BUILDLINK_DIR.
Yes. I was thinking it was always a symlink.
Another part of my problem as seen with qt3-libs is that
${BUILDLINK_PREFIX.${.TARGET:S/-buildlink//}} is always blank for all of
the xlibs but fine with other included buildlinks. So then the PREFIX is
chopped off and it doesn't find a file, like starting with
/include/whatever.h on system.
Jeremy C. Reed
http://www.reedmedia.net/