summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-04 21:12:06 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-04 21:12:06 +0100
commit2fb71db80e733ab6633974b24ca9869a0cf971dd (patch)
tree74afe13ad99f313d47ec86d94da479befcf34311 /package/python2/Makefile
parent19e1b36879450ed0f1a2ea9ef36e0fd4d2f6067e (diff)
hopefully fix compile on 64 Bit host
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 67d8e29ba..44dda1d1b 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= python2
PKG_VERSION:= 2.7
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 35f56b092ecf39a6bd59d64f142aae0f
PKG_DESCR:= Python scripting language (Version 2)
PKG_SECTION:= lang
@@ -46,6 +46,9 @@ post-extract:
${CP} ${WRKBUILD}/python ${WRKBUILD}/hostpython
$(MAKE) -C ${WRKBUILD} distclean
+pre-configure:
+ $(SED) "s#@@CPU_ARCH@@#$(CPU_ARCH)#" ${WRKBUILD}/configure
+
post-install:
${INSTALL_DIR} ${IDIR_PYTHON2}/usr/bin ${IDIR_PYTHON2}/usr/lib
${INSTALL_DIR} ${IDIR_PYTHON2}/usr/lib/python2.7