summaryrefslogtreecommitdiff
path: root/packages/bluez/bluez-utils.inc
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2005-10-21 17:22:34 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-21 17:22:34 +0000
commitf5afa45e8090da1b8337de34a1239247f4395248 (patch)
tree88203b8f7568c15edbe1fc04edb6340b02b668db /packages/bluez/bluez-utils.inc
parent9c2fc3a61ce789ec37c5ea39f443499f8c9818af (diff)
bluez-utils.inc: band-aid fix for compiling on Gentoo AMD64
Diffstat (limited to 'packages/bluez/bluez-utils.inc')
-rw-r--r--packages/bluez/bluez-utils.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/bluez/bluez-utils.inc b/packages/bluez/bluez-utils.inc
index 10f70d384c..07dc5d6125 100644
--- a/packages/bluez/bluez-utils.inc
+++ b/packages/bluez/bluez-utils.inc
@@ -28,6 +28,10 @@ inherit autotools update-rc.d
INITSCRIPT_NAME = "bluetooth"
INITSCRIPT_PARAMS = "defaults 23 19"
+do_compile_prepend() {
+ find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
+}
+
do_install_append() {
install -d ${D}${base_sbindir} ${D}${base_bindir}/
mv ${D}${sbindir}/* ${D}${base_sbindir}/