summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
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
+}