[oe-commits] Koen Kooi : hplib: fix python header confusion

git version control git at git.openembedded.org
Sun May 8 18:42:13 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f4a02fde7b4c373365bd90226d299f3ff774be24
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=f4a02fde7b4c373365bd90226d299f3ff774be24

Author: Koen Kooi <koen at openembedded.org>
Date:   Sun May  8 12:17:37 2011 +0200

hplib: fix python header confusion

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/hplip/hplip_3.11.3a.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipes/hplip/hplip_3.11.3a.bb b/recipes/hplip/hplip_3.11.3a.bb
index 5e82989..94e0bfa 100644
--- a/recipes/hplip/hplip_3.11.3a.bb
+++ b/recipes/hplip/hplip_3.11.3a.bb
@@ -22,6 +22,10 @@ EXTRA_OECONF = ' \
 # needed by python checks in configure
 EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
 
+do_configure_append() {
+	sed -i -e 's:PYTHONINCLUDEDIR = ${STAGING_INCDIR_NATIVE}/python2.6:PYTHONINCLUDEDIR = ${STAGING_INCDIR}/python2.6:g' Makefile
+}
+
 do_install_prepend() {
 	sed -i -e s:SYSFS:ATTRS:g data/rules/55-hpmud.rules
 	sed -i -e s:SYSFS:ATTRS:g data/rules/56-hpmud_support.rules





More information about the Openembedded-commits mailing list