Subject: Re: Firefox and pkg-config
To: None <tech-pkg@netbsd.org, johan@tcs.hut.fi>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 09/05/2007 22:26:56
On Wed, Sep 05, 2007 at 02:09:01PM +0300, Johan Wallén wrote:
> I have been trying to add plugin support (for firefox) to lang/classpath,
> but configuration fails due to the infamous
> 
>    checking for firefox-plugin firefox-xpcom... gnome-config: not found
>    gnome-config: not found
>    gnome-config: not found
>    gnome-config: not found
>    
> . The files /usr/pkg/lib/pkgconfig/firefox-plugin.pc and
> /usr/pkg/lib/pkgconfig/firefox-xpcom.pc do exist, and 
> 
>   pkg-config --exists firefox-plugin firefox-xpcom
> 
> returns 0, so I do not understand why it fails in configure.
> 
> Any clues?

Does your package include www/firefox/buildlink3.mk?
Is pkg-config in USE_TOOLS?

If not, the firefox .pc files or pkg-config itself are hidden from
classpath's build infrastructure and firefox won't be found.

Cheers,
 Thomas