Subject: Problem with freetype includes...
To: None <tech-pkg@netbsd.org>
From: Ted Lemon <mellon@nominum.com>
List: tech-pkg
Date: 05/15/2003 01:15:01
I've been trying to build the head of the Abiword tree, and I ran into
a problem. This probably wouldn't affect a package build, but a
non-package build without a buildlinks tree can't surmount it. The
problem is that while freetype 2 has its own include subdirectory -
/usr/pkg/include/freetype2, freetype 1 does not. This means that if
there's a -I/usr/pkg/include before the -I/usr/pkg/include/freetype2,
the freetype 1 headers get used in favor of the freetype 2 headers.
And it turns out that pkg-config emits this exact sequence when I try
to build Abiword.
So I think that the freetype 1 package should be modified to put its
includes in /usr/pkg/include/freetype1. For obvious reasons, I didn't
want to just jump in and do it, but if this seems like a reasonable
solution, I'd be glad to make it happen.