From 5a6f270344f7c6e857702bbd5591a62f59f12b2a Mon Sep 17 00:00:00 2001 From: Stefan Fröberg Date: Thu, 3 Jan 2013 12:09:01 +0000 Subject: giblib: fix giblib-config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(+) (limited to 'package/giblib/giblib.mk') diff --git a/package/giblib/giblib.mk b/package/giblib/giblib.mk index 751534c80..75e21bbd5 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)) -- cgit v1.2.3