Subject: Re: pkg/24853 (buildlink3 broken for non-X-pkgs when X11BASE ==
To: None <,,,>
From: Jeremy C. Reed <>
List: pkgsrc-bugs
Date: 10/04/2006 16:50:04
The following reply was made to PR pkg/24853; it has been noted by GNATS.

From: "Jeremy C. Reed" <>
Subject: Re: pkg/24853 (buildlink3 broken for non-X-pkgs when X11BASE ==
Date: Wed, 4 Oct 2006 11:48:50 -0500 (CDT)

 On Wed, 4 Oct 2006, wrote:
 > Given that work/.x11-buildlink is just a symlink, does this issue
 > still exist?
 The symlink is only created when USE_X11 is set.
 I did have this problem as recent as April (on DragonFly).
 I just tested again in fonts/fontconfig and the problem definitely still 
 I did:
 time make X11_TYPE=native show-var X11BASE=/usr/pkg VARNAME=X11BASE configure
 Which failed with:
  checking expat.h usability... no
  checking expat.h presence... no
  checking for expat.h... no
  checking xmlparse.h usability... no
  checking xmlparse.h presence... no
  checking for xmlparse.h... no
  configure: WARNING: Cannot find usable expat library. Trying to use 
  libxml2 as fallback.
  checking for LIBXML2... configure: error: The pkg-config script could not 
  be found or is too old.  Make sure it
  is in your PATH or set the PKG_CONFIG environment variable to the full
  path to pkg-config.
 Notice the missing symlink (a real directory):
 $ ls -ld work.glacier/.*buildlink* 
 drwxr-xr-x  5 reed  wheel  512 Oct  4 11:39 work.glacier/.buildlink
 drwxr-xr-x  4 reed  wheel  512 Oct  4 11:39 work.glacier/.x11-buildlink
 The non-X includes are now in the un-used 
 work.glacier/.x11-buildlink/include directory.
 I still do not understand the need for that case statement. As I have got 
 rid of that X11BASE check for years on multiple systems for building 
 thousands of packages.
 I will get rid of the case statement.
 Feel free to assign this PR to me.