summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-08 10:03:38 +0100
committerKoen Kooi <koen@openembedded.org>2009-12-04 11:03:06 +0100
commitc88bf809f3f36911e689ea50a281ddd8242cd662 (patch)
tree3a9185d1780a7e9ae79d43a78c88a36850c898be /recipes
parentf591b28ed94da8ed215cb279f17f1319179f8720 (diff)
font-util: Fix cross building, use PKG_CONFIG_PATH in MAPFILES_PATH test
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/xorg-font/font-util-native_1.1.1.bb4
-rw-r--r--recipes/xorg-font/font-util_1.1.1.bb4
2 files changed, 8 insertions, 0 deletions
diff --git a/recipes/xorg-font/font-util-native_1.1.1.bb b/recipes/xorg-font/font-util-native_1.1.1.bb
index 431fc04e85..49fbde39ed 100644
--- a/recipes/xorg-font/font-util-native_1.1.1.bb
+++ b/recipes/xorg-font/font-util-native_1.1.1.bb
@@ -7,3 +7,7 @@ DEPENDS = "bdftopcf-native util-macros-native"
PE = "1"
PR = "${INC_PR}.1"
+
+do_configure_prepend() {
+ sed -i "s#MAPFILES_PATH=\`pkg-config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATIVE}/pkg-config\" pkg-config#g" fontutil.m4.in
+}
diff --git a/recipes/xorg-font/font-util_1.1.1.bb b/recipes/xorg-font/font-util_1.1.1.bb
index 95c0c73c1f..635c3e4343 100644
--- a/recipes/xorg-font/font-util_1.1.1.bb
+++ b/recipes/xorg-font/font-util_1.1.1.bb
@@ -9,3 +9,7 @@ RDEPENDS = "mkfontdir mkfontscale encodings"
PE = "1"
PR = "${INC_PR}.1"
+
+do_configure_prepend() {
+ sed -i "s#MAPFILES_PATH=\`pkg-config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATIVE}/pkg-config\" pkg-config#g" fontutil.m4.in
+}