From f5afa45e8090da1b8337de34a1239247f4395248 Mon Sep 17 00:00:00 2001 From: Justin Patrin Date: Fri, 21 Oct 2005 17:22:34 +0000 Subject: bluez-utils.inc: band-aid fix for compiling on Gentoo AMD64 --- packages/bluez/bluez-utils.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/bluez/bluez-utils.inc') 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}/ -- cgit v1.2.3