summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-08-17 09:19:47 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-08-17 09:19:47 +0000
commita2dced2b4fd2e0fe1d2d5a60079d9743b8814f19 (patch)
tree35099a44c95c23fca39d190bdcd14f884108d0fc /packages
parent11f77aef86c7eecce2b4537c7e4ab2c22416fcc1 (diff)
python-pygtk-1.2: fix build on amd64
Diffstat (limited to 'packages')
-rw-r--r--packages/python/python-pygtk-1.2_0.6.12.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/python/python-pygtk-1.2_0.6.12.bb b/packages/python/python-pygtk-1.2_0.6.12.bb
index 3b538ef83e..90f8cb3821 100644
--- a/packages/python/python-pygtk-1.2_0.6.12.bb
+++ b/packages/python/python-pygtk-1.2_0.6.12.bb
@@ -5,17 +5,22 @@ LICENSE = "LGPL"
DEPENDS = "gtk+-1.2"
RDEPENDS = "python-shell python-re"
SRCNAME = "pygtk"
-PR = "ml0"
+PR = "r1"
SRC_URI = "ftp://ftp.gtk.org/pub/gtk/python/v1.2/${SRCNAME}-${PV}.tar.gz \
- file://remove-imlib-et-al;patch=1"
+ file://remove-imlib-et-al;patch=1 \
+ file://acinclude.m4"
+
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit autotools pkgconfig distutils-base
+EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
+
FILES_${PN} = "${libdir}/${PYTHON_DIR}/"
do_configure_prepend() {
+ install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
echo ${LDFLAGS} > /tmp/ldflags
rm -f aclocal.m4
}