Subject: Re: pkgsrc/x11/gtk2 failing to build under normal NetBSD
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 02/06/2004 12:41:48
(This email is also Bcc'd to MAINTAINER for freetype2 package.)

On Thu, 5 Feb 2004, Juan RP wrote:

> > /usr/pkg/tmp/pkgsrc/x11/gtk2/work.rainier/.buildlink/lib/
> > undefined reference to `FT_Get_BDF_Property'
> > collect2: ld returned 1 exit status
> Have you tried to rebuild fontconfig? I think it should fix the problem.

That shouldn't be needed. pkgsrc should do the right thing.

(The FT_* reference is from freetype-lib package.)

I found the problem.

fonts/fontconfig/ file sets:
BUILDLINK_DEPENDS.freetype2=   freetype2>=2.0.9

fonts/fontconfig/ sets:
BUILDLINK_DEPENDS.freetype2+=  freetype2>=2.0.9

graphics/freetype2/ sets:
BUILDLINK_DEPENDS.freetype2?=  freetype2>=2.0.1

graphics/freetype2/ defines:
BUILDLINK_DEPENDS.freetype2+=   freetype2>=2.0.1

This 2.0.9 was used by the build even though it was not adequate.

May I fix all these to use 2.1.3? (Which works for me.)

(And I will fix fonts/Xft2/Makefile too.)

I won't bump any pkg revisions, unless someone tells me too.

To repeat problem: Have system with old freetype. Then build new
fontconfig which uses old freetype.

   Jeremy C. Reed