xfont_font-util: remove mapfiles workaround
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 30 Jan 2011 20:07:26 +0000 (21:07 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 30 Jan 2011 20:08:10 +0000 (21:08 +0100)
Not needed (in fact breaks the build) now pkg-config --variable= does the
right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xfont_font-util/xfont_font-util.mk

index 3ca51ac916c5d19048026b0b6c10a41c2cd621a2..82b66a5d0cfc336b2ceb656fc5af39904d42b274 100644 (file)
@@ -13,13 +13,5 @@ XFONT_FONT_UTIL_INSTALL_TARGET = NO
 
 HOST_XFONT_FONT_UTIL_DEPENDENCIES = host-pkg-config
 
-define XFONT_FONT_UTIL_POST_INSTALL_FIXES
-       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))