Subject: Re: CVS commit: pkgsrc/www/mozilla
To: Eric Gillespie <email@example.com>
From: Julio Merino <firstname.lastname@example.org>
Date: 01/01/2003 19:09:37
On Tue, 31 Dec 2002 02:10:10 -0500
Eric Gillespie <email@example.com> wrote:
> grant beattie <firstname.lastname@example.org> writes:
> > Log Message:
> > add a BUILD_DEPENDS on devel/pkgconfig when building with Xft2.
> Other packages that use pkgconfig (for example x11/gtk2) include
> pkgconfig's buildlink2.mk in their own buildlink2.mk. Should
> Xft2 do this Mozilla not declare this BUILD_DEPENDS itself?
I don't think so. As I see it, there are two cases when a program depends
on Xft2 (or any other package providing .pc files):
1) The program uses its own link flags and paths to link to the library,
thus pkgconfig is not required.
2) The program uses pkgconfig to determine the flags and paths, so it
requires it to be present.
It is up to the program beeing built to determine if it requires pkgconfig
to autoconfigure itself or not... But well, that is my point of view, so
I can be wrong ;)