[Buildroot] pkgconfig confusion

Sven Neumann s.neumann at phase-zero.de
Fri Apr 17 10:25:04 UTC 2009


Hi,

On Fri, 2009-04-17 at 11:56 +0200, Sven Neumann wrote:
> Hi,
> 
> I've tried to update to the latest buildroot snapshot today and ran into
> a problem with pkg-config:
> 
> >>> pkgconfig undefined Extracting
> gzip: /home/sven/buildroot-new/dl/pkgconfig-undefined.tar.gz: No such
> file or directory
> tar: This does not look like a tar archive
> 
> So I had a look at package/pkgconfig/pkgconfig.mk and found that it
> defines all variables with the PKG_CONFIG prefix instead of using
> PKGCONFIG. Changing this seems to fix the problem (see attached diff).
> Alternatively one could rename pkgconfig/pkgconfig.mk to
> pkg-config/pkg-config.mk.

Actually, the patch from my last mail changes a bit too much.
PKG_CONFIG_HOST_DIR and PKG_CONFIG_HOST_BINARY must not be changed as
other packages use these variables. Perhaps the best solution is really
to rename the package from pkgconfig to pkg-config.


Sven





More information about the buildroot mailing list