[oe-commits] Richard Purdie : python-pygtk: Fix case where ${B} != ${S}

git at git.openembedded.org git at git.openembedded.org
Thu Mar 21 23:50:23 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: fd86061e02bd175dcc5816db1cf15d705d338062
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fd86061e02bd175dcc5816db1cf15d705d338062

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Mar 21 14:22:27 2013 +0000

python-pygtk: Fix case where ${B} != ${S}

Fix out of tree builds by adding missing path component.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-devtools/python/python-pygtk_2.24.0.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
index 624d924..0342f82 100644
--- a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
+++ b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
@@ -35,7 +35,7 @@ do_configure_prepend() {
 		-e s:'`$PKG_CONFIG --variable codegendir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/codegen\":g \
 		-e s:'`$PKG_CONFIG --variable=fixxref pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/xsl/fixxref.py\":g \
 		${S}/configure.ac
-	sed -i 's:tests docs:tests:' Makefile.am
+	sed -i 's:tests docs:tests:' ${S}/Makefile.am
 }
 
 # dirty fix #1: remove dependency on python-pygobject-dev





More information about the Openembedded-commits mailing list