From: Stefan Fröberg Date: Thu, 3 Jan 2013 12:09:01 +0000 (+0000) Subject: giblib: fix giblib-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a6f270344f7c6e857702bbd5591a62f59f12b2a;p=buildroot.git giblib: fix giblib-config [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- 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))