Subject: Re: freetype2 required for fontconfig
To: Thomas Klausner <wiz@NetBSD.org>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 10/28/2003 09:58:39
On Tue, 28 Oct 2003, Thomas Klausner wrote:
> > So I moved /usr/X11R6/bin/freetype-config out of the way. make clean and
> > then make worked.
> So we should probably link the correct freetype-config into
> .buildlinkdir/bin -- that should work, shouldn't it?
I tested it. I put old freetype-config back in place (I am glad I didn't
delete it). And the build failed.
Then I used the following and fontconfig built fine. (I based the
following example on libart2/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
Should I commit the above?
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.
Jeremy C. Reed