[oe-commits] org.oe.dev python 2.5.2 sed hardcoded ccache out of Makefile and substitute with $(CCACHE). Closes #4144

mickeyl commit oe at amethyst.openembedded.net
Wed May 21 10:46:17 UTC 2008


python 2.5.2 sed hardcoded ccache out of Makefile and substitute with $(CCACHE). Closes #4144

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: d3e6d2bafdfc9d3b6ae568792b3d8843a955a119
ViewMTN: http://monotone.openembedded.org/revision/info/d3e6d2bafdfc9d3b6ae568792b3d8843a955a119
Files:
1
packages/python/python_2.5.2.bb
Diffs:

#
# mt diff -r879b29ca3c325fbb878a73b7b91dcd1f876468d5 -rd3e6d2bafdfc9d3b6ae568792b3d8843a955a119
#
#
#
# patch "packages/python/python_2.5.2.bb"
#  from [3ca57f8a30e412707c0107dff460e0343840d9f1]
#    to [5b3625881116fda1abd1f83093917137935991c8]
#
============================================================
--- packages/python/python_2.5.2.bb	3ca57f8a30e412707c0107dff460e0343840d9f1
+++ packages/python/python_2.5.2.bb	5b3625881116fda1abd1f83093917137935991c8
@@ -6,7 +6,7 @@ DEPENDS_sharprom = "python-native readli
 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_install() {
 
 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






More information about the Openembedded-commits mailing list