Patchwork [07/16] python-pygtk: Fix case where ${B} != ${S}

login
register
mail settings
Submitter Richard Purdie
Date March 21, 2013, 3:55 p.m.
Message ID <1363881315-24352-7-git-send-email-richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/46655/
State Accepted
Commit fd86061e02bd175dcc5816db1cf15d705d338062
Headers show

Comments

Richard Purdie - March 21, 2013, 3:55 p.m.
Fix out of tree builds by adding missing path component.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/python/python-pygtk_2.24.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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