[oe-commits] org.oe.dev python-pygtk-1.2: fix build on amd64

hrw commit openembedded-commits at lists.openembedded.org
Fri Aug 17 09:50:42 UTC 2007


python-pygtk-1.2: fix build on amd64

Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: f4c81cd8dcea8c89262f32820d6f3764c5622e2a
ViewMTN: http://monotone.openembedded.org/revision.psp?id=f4c81cd8dcea8c89262f32820d6f3764c5622e2a
Files:
1
packages/python/python-pygtk-1.2_0.6.12.bb
Diffs:

#
# mt diff -r0495ced646d9e95d189d456eacb0d9b85c2629fb -rf4c81cd8dcea8c89262f32820d6f3764c5622e2a
#
# 
# 
# patch "packages/python/python-pygtk-1.2_0.6.12.bb"
#  from [9cd20b4fbedfd7c2d2350dfdd078cb7dc6c7afbc]
#    to [2abab9054c28a7d28d3c736bf7a117d55a4a9d3d]
# 
============================================================
--- packages/python/python-pygtk-1.2_0.6.12.bb	9cd20b4fbedfd7c2d2350dfdd078cb7dc6c7afbc
+++ packages/python/python-pygtk-1.2_0.6.12.bb	2abab9054c28a7d28d3c736bf7a117d55a4a9d3d
@@ -5,17 +5,22 @@ SRCNAME = "pygtk"
 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
 }






More information about the Openembedded-commits mailing list