summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorStefan Fröberg <stefan.froberg@petroprogram.com>2013-01-03 12:09:01 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-04 22:30:35 +0100
commit5a6f270344f7c6e857702bbd5591a62f59f12b2a (patch)
tree53a5c6475e3795e1a0b1a691b51bd89349f298fb /package
parentbdcbd9fb3dedc69c3b6a6742701ff204dd9fba0a (diff)
downloadbuildroot-novena-5a6f270344f7c6e857702bbd5591a62f59f12b2a.tar.gz
buildroot-novena-5a6f270344f7c6e857702bbd5591a62f59f12b2a.zip
giblib: fix giblib-config
[Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/giblib/giblib.mk8
1 files changed, 8 insertions, 0 deletions
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))