summaryrefslogtreecommitdiff
path: root/recipes/xorg-font
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xorg-font')
-rw-r--r--recipes/xorg-font/xorg-font-common.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes/xorg-font/xorg-font-common.inc b/recipes/xorg-font/xorg-font-common.inc
index 820161ef83..5cf40e8436 100644
--- a/recipes/xorg-font/xorg-font-common.inc
+++ b/recipes/xorg-font/xorg-font-common.inc
@@ -13,16 +13,14 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
inherit autotools pkgconfig
+EXTRA_OEMAKE += "FCCACHE=/bin/true"
+
do_configure_prepend() {
if [ -f "${S}"/configure.ac ] ; then
sed -i "s#^MAPFILES_PATH=.*#MAPFILES_PATH=\"${STAGING_DIR_TARGET}/\$(pkg-config --variable=mapdir fontutil)\"#g" "${S}"/configure.ac
fi
}
-EXTRA_OECONF += " --with-fontrootdir=${libdir}/X11/fonts"
-
-EXTRA_OEMAKE += "FCCACHE=/bin/true"
-
do_install_append() {
find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f
find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f