diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-08 00:09:11 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-08 00:09:11 +0200 |
commit | 0d6068ae017afc2474b37533ea80a5deebef8415 (patch) | |
tree | f992dcd71c86aa5f2b98df18532879b7ff013e9f /package/x11r7/xfont_font-util/xfont_font-util.mk | |
parent | 84278848f433876d05a5318fea77a3b361173329 (diff) | |
parent | 803967499fb362d2fe394647d4a4a59932f6a708 (diff) | |
download | buildroot-novena-0d6068ae017afc2474b37533ea80a5deebef8415.tar.gz buildroot-novena-0d6068ae017afc2474b37533ea80a5deebef8415.zip |
Merge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/x11r7/xfont_font-util/xfont_font-util.mk')
-rw-r--r-- | package/x11r7/xfont_font-util/xfont_font-util.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/x11r7/xfont_font-util/xfont_font-util.mk b/package/x11r7/xfont_font-util/xfont_font-util.mk index 3f59b17ab..3ca51ac91 100644 --- a/package/x11r7/xfont_font-util/xfont_font-util.mk +++ b/package/x11r7/xfont_font-util/xfont_font-util.mk @@ -11,10 +11,15 @@ XFONT_FONT_UTIL_DEPENDENCIES = host-pkg-config XFONT_FONT_UTIL_INSTALL_STAGING = YES XFONT_FONT_UTIL_INSTALL_TARGET = NO +HOST_XFONT_FONT_UTIL_DEPENDENCIES = host-pkg-config + define XFONT_FONT_UTIL_POST_INSTALL_FIXES - package/x11r7/xfont_font-util/post-install.sh $(STAGING_DIR) + sed "s,^mapdir=.*,mapdir=$(STAGING_DIR)/usr/share/fonts/X11/util,g" \ + $(STAGING_DIR)/usr/lib/pkgconfig/fontutil.pc > $(STAGING_DIR)/usr/lib/pkgconfig/fontutil.pc.new + mv $(STAGING_DIR)/usr/lib/pkgconfig/fontutil.pc.new $(STAGING_DIR)/usr/lib/pkgconfig/fontutil.pc endef XFONT_FONT_UTIL_POST_INSTALL_STAGING_HOOKS += XFONT_FONT_UTIL_POST_INSTALL_FIXES $(eval $(call AUTOTARGETS,package/x11r7,xfont_font-util)) +$(eval $(call AUTOTARGETS,package/x11r7,xfont_font-util,host)) |