Subject: Re: freetype2 required for fontconfig
To: Jeremy C. Reed <reed@reedmedia.net>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 10/28/2003 19:07:32
On Tue, Oct 28, 2003 at 09:58:39AM -0800, Jeremy C. Reed wrote:
> Then I used the following and fontconfig built fine. (I based the
> following example on libart2/buildlink2.mk.)
>
> Index: graphics/freetype2/buildlink2.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc/graphics/freetype2/buildlink2.mk,v
> retrieving revision 1.9
> diff -b -u -r1.9 buildlink2.mk
> --- graphics/freetype2/buildlink2.mk 2002/12/24 05:48:28 1.9
> +++ graphics/freetype2/buildlink2.mk 2003/10/28 17:52:46
> @@ -63,7 +63,8 @@
> USE_X11= # defined
> .endif
>
> -BUILDLINK_FILES.freetype2= include/ft2build.h
> +BUILDLINK_FILES.freetype2= bin/freetype-config
> +BUILDLINK_FILES.freetype2+= include/ft2build.h
> BUILDLINK_FILES.freetype2+= include/freetype2/ft2build.h
> BUILDLINK_FILES.freetype2+= include/freetype2/freetype/*
> BUILDLINK_FILES.freetype2+= include/freetype2/freetype/cache/*
>
> Should I commit the above?
Yep, that's what I meant, please commit it.
> This reminds me that I have had similar problems over past few years. My
> 01/June/2001 diary says: "After I woke up... smpeg didn't install. The
> configure script found old /usr/local/bin/sdl-config but it was the wrong
> version." And on 15/Mar/2002, I had wrong gtk-config. And again on
> 26/Nov/2002: "I had a bogus /usr/bin/gtk-config in place which was being
> used. This made the imlib only build partially. I finally realized it and
> removed it. So it would use my good /usr/X11R6/bin/gtk-config instead."
> And on 27/Nov/2002: "Also had a bad /usr/bin/imlib-config inplace. So I
> removed it too."
>
> It might be good to force some of these too.
Yes, I think we should link those too, though I think
it normally doesn't happen that you have extra ones of those
lying around.
Could you please take care of them too?
Thanks,
Thomas