From 1a1009931f8f126087c0c4c013af63ca2037014a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20Fr=C3=B6berg?= Date: Thu, 3 Jan 2013 12:09:07 +0000 Subject: [PATCH] xlib_libXft: fix xft-config MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- package/x11r7/xlib_libXft/xlib_libXft.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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)) -- 2.30.2