[oe-commits] Henning Heinold : python-pygtk: fix staging for codegen with right prefix

git version control git at git.openembedded.org
Tue Nov 17 23:25:52 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: cbe3df9e564ebb72fa87aa76640b057b86e27f88
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cbe3df9e564ebb72fa87aa76640b057b86e27f88

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Sat Nov 14 02:27:44 2009 +0100

python-pygtk: fix staging for codegen with right prefix

* bump PR

---

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

diff --git a/recipes/python/python-pygtk_2.10.4.bb b/recipes/python/python-pygtk_2.10.4.bb
index 3f0e593..bdfebaf 100644
--- a/recipes/python/python-pygtk_2.10.4.bb
+++ b/recipes/python/python-pygtk_2.10.4.bb
@@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject"
 PROVIDES = "python-pygtk2"
 SRCNAME = "pygtk"
 LICENSE = "LGPL"
-PR = "ml10"
+PR = "ml11"
 
 MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
 SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
@@ -52,7 +52,7 @@ FILES_${PN}-dev += "\
 
 do_stage() {
 	autotools_stage_includes
-	sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0
+	sed -i s:${prefix}/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0
 	install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/
 	# until we have a newer pygobject version, we resue pygtk's codegen
 	ln -sf ./pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/pygobject-codegen-2.0





More information about the Openembedded-commits mailing list