summaryrefslogtreecommitdiff
path: root/packages/python/python_2.5.2.bb
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2008-05-23 15:59:49 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-05-23 15:59:49 +0000
commit33b90e2dbb1f21ba4511f3e85dfeab1ae24502c4 (patch)
tree04b505d6d032b8fb91eb9772a57fb0c5e5f393e8 /packages/python/python_2.5.2.bb
parentef71e5fbb312339650882401b54739a5e60726fc (diff)
parentdf42d84d1ac1fc35e56fa66cf6559ce6ca2893d3 (diff)
merge of '5135d5b0b85d509b8af80d221f18563d4ce62475'
and '8b21a69e52feb768f1d096aa78e44dd20ce3aed4'
Diffstat (limited to 'packages/python/python_2.5.2.bb')
-rw-r--r--packages/python/python_2.5.2.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/python/python_2.5.2.bb b/packages/python/python_2.5.2.bb
index 7f30badfad..22aac7c9ee 100644
--- a/packages/python/python_2.5.2.bb
+++ b/packages/python/python_2.5.2.bb
@@ -6,7 +6,7 @@ PRIORITY = "optional"
DEPENDS = "python-native readline zlib gdbm openssl sqlite3 tcl tk"
DEPENDS_sharprom = "python-native readline zlib gdbm openssl"
# bump this on every change in contrib/python/generate-manifest-2.5.py
-PR = "ml3"
+PR = "ml4"
PYTHON_MAJMIN = "2.5"
@@ -68,7 +68,7 @@ do_stage() {
do_install() {
install -m 0644 Makefile.orig Makefile
-
+
oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
STAGING_LIBDIR=${STAGING_LIBDIR} \
@@ -77,6 +77,9 @@ do_install() {
DESTDIR=${D} LIBDIR=${libdir} install
install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
+
+ # remove hardcoded ccache, see http://bugs.openembedded.net/show_bug.cgi?id=4144
+ sed -i -e s,ccache,'$(CCACHE)', ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
}
require python-${PYTHON_MAJMIN}-manifest.inc