bluez-utils.inc: band-aid fix for compiling on Gentoo AMD64
authorJustin Patrin <papercrane@gmail.com>
Fri, 21 Oct 2005 17:22:34 +0000 (17:22 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 21 Oct 2005 17:22:34 +0000 (17:22 +0000)
packages/bluez/bluez-utils.inc

index 10f70d3..07dc5d6 100644 (file)
@@ -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}/