From c88bf809f3f36911e689ea50a281ddd8242cd662 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 8 Nov 2009 10:03:38 +0100 Subject: font-util: Fix cross building, use PKG_CONFIG_PATH in MAPFILES_PATH test Signed-off-by: Martin Jansa --- recipes/xorg-font/font-util-native_1.1.1.bb | 4 ++++ recipes/xorg-font/font-util_1.1.1.bb | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'recipes') 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 +} -- cgit v1.2.3