summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
commitceedf010c914556ebe7eb3211b7b43ccd5deb39f (patch)
tree92f0bcfabc0193abdbc3b86d7992b2bc60adfeb3 /package/python2/Makefile
parenta373c925622077caa35eb97ab85965e52d7e832d (diff)
parenta1eafbfc0077cd7074961e635ca2387ada7da440 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 6ab804935..53e770f2d 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -42,6 +42,8 @@ CONFIGURE_ARGS:= --with-threads \
--without-cxx-main
post-extract:
+ $(CP) ${WRKBUILD}/setup.py ${WRKBUILD}/setup.py.sav
+ $(CP) ./files/setup.py ${WRKBUILD}/setup.py
$(CP) ./files/posixmodule.c ${WRKBUILD}/Modules/posixmodule.c
$(CP) ./files/python-config.in ${WRKBUILD}/Misc/python-config.in
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
@@ -56,6 +58,7 @@ post-extract:
${CP} ${WRKBUILD}/Parser/pgen ${WRKBUILD}/Parser/hostpgen
${CP} ${WRKBUILD}/python ${WRKBUILD}/hostpython
$(MAKE) -C ${WRKBUILD} distclean
+ $(CP) ${WRKBUILD}/setup.py.sav ${WRKBUILD}/setup.py
pre-configure:
$(SED) "s#@@CPU_ARCH@@#$(CPU_ARCH)#" ${WRKBUILD}/configure