From 9fb7e7b2d2f2563a78e128da8377bff110ad7775 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 21 Oct 2009 14:16:28 +0200 Subject: [PATCH] gnome-python-extras: fix up patch to python stuff --- recipes/gnome/gnome-python-extras_2.25.3.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" -- 2.39.5