summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-15 14:12:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-15 14:12:00 +0100
commit24db4fb9b27f4ea87b3ecdf8fd4dd07b62ba9514 (patch)
treecec2d85b768a617ae371837eec7069e7f155e568 /package/python2/Makefile
parentf377248abda877e2a945f4152e3e57bbaaeec1ca (diff)
parent7260a427d88f1cbfcd8534c5f7805b4b56efb544 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index a0fa499a8..933947523 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= python2
PKG_VERSION:= 2.7.5
-PKG_RELEASE:= 8
+PKG_RELEASE:= 10
PKG_MD5SUM:= b4f01a1d0ba0b46b05c73b2ac909b1df
PKG_DESCR:= Python scripting language (Version 2)
PKG_SECTION:= lang
@@ -13,7 +13,7 @@ PKG_BUILDDEP:= autotool libffi python2-host
PKG_DEPENDS:= libpthread libffi libgcc
PKG_URL:= http://www.python.org/
PKG_SITES:= http://www.python.org/ftp/python/${PKG_VERSION}/
-PKG_OPTS:= dev noscripts
+PKG_OPTS:= dev
PKG_HOST_DEPENDS:= !netbsd !openbsd
@@ -97,6 +97,7 @@ CONFIGURE_ARGS:= --with-threads \
HOST_STYLE:= auto
HOST_CONFIGURE_ARGS:= --with-threads \
+ --disable-ipv6 \
--disable-shared \
--disable-toolbox-glue \
--without-cxx-main
@@ -105,12 +106,10 @@ CFLAGS_FOR_BUILD+= -fPIC
hostpost-install:
$(INSTALL_BIN) ${WRKBUILD}/Parser/pgen \
$(STAGING_HOST_DIR)/usr/bin/pgen
+ (cd $(STAGING_HOST_DIR)/usr/bin && \
+ patch -p0 < $(TOPDIR)/package/python2/files/python-config.patch)
pre-configure:
- (cd $(WRKBUILD) && patch -p1 < \
- $(TOPDIR)/package/python2/files/patch-Misc_python-config_in )
- (cd $(WRKBUILD) && patch -p1 < \
- $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py )
$(SED) "s#@EXENAME@#$(STAGING_HOST_DIR)/usr/bin/python#" \
$(WRKBUILD)/Misc/python-config.in