[oe-commits] Koen Kooi : opencv: fix pythonpath

GIT User account git at amethyst.openembedded.net
Tue Nov 18 19:09:55 UTC 2008


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

Author: Koen Kooi <koen at openembedded.org>
Date:   Tue Nov 18 20:08:56 2008 +0100

opencv: fix pythonpath

---

 packages/opencv/opencv_cvs.bb |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/packages/opencv/opencv_cvs.bb b/packages/opencv/opencv_cvs.bb
index cc97a71..1f9485a 100644
--- a/packages/opencv/opencv_cvs.bb
+++ b/packages/opencv/opencv_cvs.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPLv2"
 
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "libtool swig swig-native python jpeg zlib libpng tiff glib-2.0"
 
@@ -18,11 +18,16 @@ S = "${WORKDIR}/opencv"
 
 inherit distutils-base autotools pkgconfig
 
-EXTRA_OECONF = "--disable-debug  --with-gtk --enable-apps --with-python az_python_cspec=${STAGING_INCDIR}/${PYTHON_DIR}"
+EXTRA_OECONF = " \
+		--disable-debug \
+		--with-gtk \
+		--enable-apps \
+		--with-python az_python_cspec=${STAGING_INCDIR}/${PYTHON_DIR} \
+		"
 
 export BUILD_SYS
 export HOST_SYS
-export PYTHON_CSPEC=${STAGING_INCDIR}/${PYTHON_DIR}
+export PYTHON_CSPEC="-I${STAGING_INCDIR}/${PYTHON_DIR}"
 
 do_configure_prepend() {
 	cp ${WORKDIR}/acinclude.m4 ${S}





More information about the Openembedded-commits mailing list