summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fröberg <stefan.froberg@petroprogram.com>2013-01-03 12:09:05 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-04 21:45:57 (GMT)
commit0db5e1203df9219498fe2ffa749d8818515a5607 (patch)
tree9c95a39d2b74dce6d44a7df003ea210c29276934
parent857413845eac7f00a9219d7ed45177ae1d271f65 (diff)
downloadbuildroot-0db5e1203df9219498fe2ffa749d8818515a5607.tar.gz
buildroot-0db5e1203df9219498fe2ffa749d8818515a5607.tar.bz2
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>
-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 c2e4949..56db604 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))