diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-font')
-rw-r--r-- | meta/recipes-graphics/xorg-font/xorg-font-common.inc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc index 55adde3608..d3b995a358 100644 --- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc +++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc | |||
@@ -15,13 +15,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}" | |||
15 | 15 | ||
16 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
17 | 17 | ||
18 | EXTRA_OEMAKE += "FCCACHE=/bin/true" | 18 | EXTRA_OEMAKE += "FCCACHE=/bin/true UTIL_DIR=${STAGING_DIR_TARGET}\$\(MAPFILES_PATH\)" |
19 | |||
20 | do_configure_prepend() { | ||
21 | if [ -f "${S}"/configure.ac ] ; then | ||
22 | sed -i "s#^MAPFILES_PATH=.*#MAPFILES_PATH=\"${STAGING_DIR_TARGET}/\$(pkg-config --variable=mapdir fontutil)\"#g" "${S}"/configure.ac | ||
23 | fi | ||
24 | } | ||
25 | 19 | ||
26 | do_install_append() { | 20 | do_install_append() { |
27 | find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f | 21 | find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f |