From 0db5e1203df9219498fe2ffa749d8818515a5607 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20Fr=C3=B6berg?= Date: Thu, 3 Jan 2013 12:09:05 +0000 Subject: [PATCH] neon: fix neon-config MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- package/neon/neon.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/neon/neon.mk b/package/neon/neon.mk index c2e49497cb..56db6044bb 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)) -- 2.30.2