[oe] xfonts, mapfile dir, and pkg-config issue
Cliff Brake
cliff.brake at gmail.com
Fri Apr 25 18:35:10 UTC 2008
On Fri, Apr 25, 2008 at 11:01 AM, Jeremy Lainé
<jeremy.laine at bolloretelecom.eu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am not sure whether this is the same issue but some time ago I filed
> a bug report (with patch) because some of the configure.ac files did
> not respect the PKG_CONFIG env variable and hence called the wrong
> pkg-config:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=8185
Hi Jeremy,
I don't think this is the same issue because as far as I can tell this
is not an issue of running the wrong package config, rather knowing
how to use the data in it. When I fun configure in an OE build,
$PKG_CONFIG does not seem to be defined.
This is what I came up with:
--- font-misc-misc-1.0.0.orig/configure.ac 2008-04-25
13:47:56.000000000 -0400
+++ font-misc-misc-1.0.0/configure.ac 2008-04-25 13:48:10.000000000 -0400
@@ -45,7 +45,8 @@
AC_SUBST(FONTDIR)
PKG_CHECK_MODULES(MAPS, [fontutil])
-MAPFILES_PATH=$(pkg-config --variable=mapdir fontutil)
+m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR)
+MAPFILES_PATH=$PKG_CONFIG_SYSROOT_DIR`pkg-config --variable=mapdir fontutil`
AC_SUBST(MAPFILES_PATH)
XORG_FONT_CHECK_ISO8859_1
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the Openembedded-devel
mailing list