From 5a6f270344f7c6e857702bbd5591a62f59f12b2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20Fr=C3=B6berg?= Date: Thu, 3 Jan 2013 12:09:01 +0000 Subject: [PATCH] giblib: fix giblib-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/giblib/giblib.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/giblib/giblib.mk b/package/giblib/giblib.mk index 751534c809..75e21bbd54 100644 --- a/package/giblib/giblib.mk +++ b/package/giblib/giblib.mk @@ -13,4 +13,12 @@ GIBLIB_AUTORECONF_OPT = --install GIBLIB_CONF_OPT = --with-imlib2-prefix=$(STAGING_DIR)/usr \ --with-imlib2-exec-prefix=$(STAGING_DIR)/usr +define GIBLIB_STAGING_GIBLIB_CONFIG_FIXUP + $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \ + -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \ + $(STAGING_DIR)/usr/bin/giblib-config +endef + +GIBLIB_POST_INSTALL_STAGING_HOOKS += GIBLIB_STAGING_GIBLIB_CONFIG_FIXUP + $(eval $(autotools-package)) -- 2.30.2