summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2011-05-16 18:10:49 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-05-16 22:23:41 +0200
commit5276dec0e053c3dfd667281f037fa4221a9d6148 (patch)
treecc88c26a3552a7c034d8e754b2ea2a59f2f3b76d /package
parent12cdabeeb5ad18f27ce415c18d8a5896699bee41 (diff)
downloadbuildroot-novena-5276dec0e053c3dfd667281f037fa4221a9d6148.tar.gz
buildroot-novena-5276dec0e053c3dfd667281f037fa4221a9d6148.zip
font-misc-misc: Don't pull fonts encodings from host system
Use encodings from staging dir. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk b/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk
index f6a556493..64e14d283 100644
--- a/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk
+++ b/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk
@@ -12,5 +12,11 @@ XFONT_FONT_MISC_MISC_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) MKFONTSCALE=$(
XFONT_FONT_MISC_MISC_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) MKFONTSCALE=$(HOST_DIR)/usr/bin/mkfontscale MKFONTDIR=$(HOST_DIR)/usr/bin/mkfontdir install-data
XFONT_FONT_MISC_MISC_DEPENDENCIES = xfont_font-util host-xfont_font-util host-xapp_mkfontscale host-xapp_mkfontdir host-xapp_bdftopcf
+define XFONT_FONT_MISC_MISC_MAPFILES_PATH_FIX
+ $(SED) 's|UTIL_DIR = |UTIL_DIR = $(STAGING_DIR)|' $(@D)/Makefile
+endef
+
+XFONT_FONT_MISC_MISC_POST_CONFIGURE_HOOKS += XFONT_FONT_MISC_MISC_MAPFILES_PATH_FIX
+
$(eval $(call AUTOTARGETS,package/x11r7,xfont_font-misc-misc))