Subject: Re: x11/tk build failure
To: Nathan J. Williams <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 02/19/2004 13:54:18
On Wed, Feb 18, 2004 at 10:16:17AM -0500, Nathan J. Williams wrote:
> "Johnny C. Lam" <> writes:
> > In your setup, what are "/usr/pkg" and "/u1/usr/pkg"?
> /usr is a symlink to /u1/usr (/u1 being the filesystem mount
> point). pkg is just a directory under /u1/usr, not a symlink.

The following commit to pkgsrc/mk/buildlink3/ should
fix the problem you noted:

revision 1.96
date: 2004/02/19 12:50:47;  author: jlam;  state: Exp;  lines: +25 -15
Resolve ${LOCALBASE} to its phyiscal path and mangle it back into
${LOCALBASE}.  Some packages' configure scripts resolve all paths to
physical paths, and since buildlink3 suppresses references outside of
${LOCALBASE}, it can break the build of those packages.

This should fix the problem noted by Nathan Williams in the thread
titled "x11/tk build failure" at:


	-- Johnny Lam <>