Subject: Re: The .pc filename of Xft2
To: None <tech-pkg@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: tech-pkg
Date: 12/07/2005 17:20:01
On Sun, Dec 04, 2005 at 09:34:01PM +0800, Rui-Xiang Guo wrote:
> Hi, all.
> On my native X window(xfree 4.5), there is a .pc file for Xft2 in
> ${X11BASE}/lib/pkgconfig -
> hive[/usr/pkgsrc/fonts/Xft2]% ls /usr/X11R6/lib/pkgconfig
> fontconfig.pc   xcursor.pc      xft.pc
>                                 ^^^^^^
> The name is xft.pc. But in fonts/Xft2/builtin.mk, I see
> [...]
> .  if !empty(USE_BUILTIN.Xft2:M[yY][eE][sS])
> BUILDLINK_PREFIX.Xft2=  ${X11BASE}
> BUILDLINK_FILES.Xft2+=  lib/pkgconfig/Xft2.pc
> 				      ^^^^^^^
> [...]
> 
> Is it the filename in old native X window?
> This cause the problem for some pkgs during configure stage -
> [...]
> checking that xft (version >= 2.0.0) is installed... gnome-config: not found
> [...]
> 
> Any idea?

yes, that line should read

BUILDLINK_FILES.Xft2+=  lib/pkgconfig/xft.pc

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
              "silly brewer, saaz are for pils!"  --  virt