Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] directfb: fixup directfb-config for correctness
@ 2011-02-09 18:22 Gustavo Zacarias
  2011-02-09 18:22 ` [Buildroot] [PATCH 2/2] links: bump to version 2.3pre1 Gustavo Zacarias
  2011-02-09 21:58 ` [Buildroot] [PATCH 1/2] directfb: fixup directfb-config for correctness Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2011-02-09 18:22 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/directfb/directfb.mk |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 36b1c0a..98590cc 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -137,6 +137,14 @@ HOST_DIRECTFB_BUILD_CMDS = \
 HOST_DIRECTFB_INSTALL_CMDS = \
 	$(INSTALL) -m 0755 $(@D)/tools/directfb-csource $(HOST_DIR)/usr/bin
 
+define DIRECTFB_STAGING_CONFIG_FIXUP
+	$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
+		-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
+		$(STAGING_DIR)/usr/bin/directfb-config
+endef
+
+DIRECTFB_POST_INSTALL_STAGING_HOOKS += DIRECTFB_STAGING_CONFIG_FIXUP
+
 $(eval $(call AUTOTARGETS,package,directfb))
 $(eval $(call AUTOTARGETS,package,directfb,host))
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-09 22:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-09 18:22 [Buildroot] [PATCH 1/2] directfb: fixup directfb-config for correctness Gustavo Zacarias
2011-02-09 18:22 ` [Buildroot] [PATCH 2/2] links: bump to version 2.3pre1 Gustavo Zacarias
2011-02-09 22:01   ` Peter Korsgaard
2011-02-09 21:58 ` [Buildroot] [PATCH 1/2] directfb: fixup directfb-config for correctness Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox