From: Koen Kooi Date: Wed, 21 Oct 2009 12:16:28 +0000 (+0200) Subject: gnome-python-extras: fix up patch to python stuff X-Git-Tag: Release-2010-05/1~2013 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fb7e7b2d2f2563a78e128da8377bff110ad7775;p=openembedded.git gnome-python-extras: fix up patch to python stuff --- diff --git a/recipes/gnome/gnome-python-extras_2.25.3.bb b/recipes/gnome/gnome-python-extras_2.25.3.bb index 9d8e786241..cf3d84e9af 100644 --- a/recipes/gnome/gnome-python-extras_2.25.3.bb +++ b/recipes/gnome/gnome-python-extras_2.25.3.bb @@ -5,12 +5,17 @@ inherit gnome distutils-base SRC_URI += "file://acinclude.m4" +EXTRA_OECONF = "--with-python-includes=${STAGING_INCDIR}/../" + do_configure_prepend() { install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ } do_configure_prepend() { - sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.ac + sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=defsdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=argtypesdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/argtypes/\":g \ + ${S}/configure.ac } AUTOTOOLS_STAGE_PKGCONFIG = "1"