summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-font
diff options
context:
space:
mode:
authorRichard Tollerton <rich.tollerton@ni.com>2014-12-12 13:34:00 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:19:06 +0000
commit068a9f5cbeb589aac1843e59dffc944784971cae (patch)
tree33d10ba1b338431fbdf1c65514d4232967c053ea /meta/recipes-graphics/xorg-font
parent27a34b69a084e796458d8d68deb9ae39d1bf406f (diff)
downloadpoky-068a9f5cbeb589aac1843e59dffc944784971cae.tar.gz
font-util: Fix incorrect PKG_CONFIG_PATH
PKG_CONFIG_PATH always defaults to /usr/lib/pkgconfig, and the host /usr/lib/pkgconfig is always checked as a fallback; however, PKG_CONFIG_PATH is currently (incorrectly) set to /usr/lib/pkg-config in the sysroot, which doesn't exist. On host distros where the font encoding maps are stored under a different path than OE, this will break font builds, because ucs2any will attempt to read the sysroot's encoding maps with the host paths. (From OE-Core rev: 89a29a3ad0742cd713e739d3d460be7711966679) (From OE-Core rev: f80a57a6c2a101ba4832899d88171fdb23977af2) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-font')
-rw-r--r--meta/recipes-graphics/xorg-font/font-util_1.3.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb b/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb
index 8b42991d1c..cc4258ad7b 100644
--- a/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb
+++ b/meta/recipes-graphics/xorg-font/font-util_1.3.0.bb
@@ -17,7 +17,7 @@ RDEPENDS_${PN}_class-native = "mkfontdir-native mkfontscale-native"
17PR = "${INC_PR}.0" 17PR = "${INC_PR}.0"
18 18
19do_configure_prepend() { 19do_configure_prepend() {
20 sed -i "s#MAPFILES_PATH=\`pkg-config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATIVE}/pkg-config\" pkg-config#g" ${S}/fontutil.m4.in 20 sed -i "s#MAPFILES_PATH=\`pkg-config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATIVE}/pkgconfig\" pkg-config#g" ${S}/fontutil.m4.in
21} 21}
22 22
23BBCLASSEXTEND = "native" 23BBCLASSEXTEND = "native"