summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorStefan Fröberg <stefan.froberg@petroprogram.com>2013-01-03 12:09:05 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-04 22:45:57 +0100
commit0db5e1203df9219498fe2ffa749d8818515a5607 (patch)
tree9c95a39d2b74dce6d44a7df003ea210c29276934 /package
parent857413845eac7f00a9219d7ed45177ae1d271f65 (diff)
downloadbuildroot-novena-0db5e1203df9219498fe2ffa749d8818515a5607.tar.gz
buildroot-novena-0db5e1203df9219498fe2ffa749d8818515a5607.zip
neon: fix neon-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/neon/neon.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/neon/neon.mk b/package/neon/neon.mk
index c2e49497c..56db6044b 100644
--- a/package/neon/neon.mk
+++ b/package/neon/neon.mk
@@ -52,4 +52,12 @@ ifneq ($(BR2_HAVE_DEVFILES),y)
NEON_POST_INSTALL_TARGET_HOOKS += NEON_REMOVE_CONFIG_SCRIPTS
endif
+define NEON_STAGING_NEON_CONFIG_FIXUP
+ $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
+ -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
+ $(STAGING_DIR)/usr/bin/neon-config
+endef
+
+NEON_POST_INSTALL_STAGING_HOOKS += NEON_STAGING_NEON_CONFIG_FIXUP
+
$(eval $(autotools-package))