From: Stefan Fröberg Date: Thu, 3 Jan 2013 12:09:07 +0000 (+0000) Subject: xlib_libXft: fix xft-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a1009931f8f126087c0c4c013af63ca2037014a;p=buildroot.git xlib_libXft: fix xft-config [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- diff --git a/package/x11r7/xlib_libXft/xlib_libXft.mk b/package/x11r7/xlib_libXft/xlib_libXft.mk index eab75efa43..01ba323d08 100644 --- a/package/x11r7/xlib_libXft/xlib_libXft.mk +++ b/package/x11r7/xlib_libXft/xlib_libXft.mk @@ -11,4 +11,12 @@ XLIB_LIBXFT_AUTORECONF = YES XLIB_LIBXFT_INSTALL_STAGING = YES XLIB_LIBXFT_DEPENDENCIES = fontconfig freetype xlib_libX11 xlib_libXext xlib_libXrender xproto_xproto +define XLIB_LIBXFT_STAGING_XLIB_LIBXFT_CONFIG_FIXUP + $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \ + -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \ + $(STAGING_DIR)/usr/bin/xft-config +endef + +XLIB_LIBXFT_POST_INSTALL_STAGING_HOOKS += XLIB_LIBXFT_STAGING_XLIB_LIBXFT_CONFIG_FIXUP + $(eval $(autotools-package))