summaryrefslogtreecommitdiff
path: root/package/python2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-03-04 16:27:08 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-03-04 16:27:08 +0100
commit98a36257c6ca6b2e552840cb82de0703b469a3c6 (patch)
tree311961154f273ea17a5381553a28de8284205e8d /package/python2
parent497dae5e0ce4c06372e691fa65306324daabc4b8 (diff)
depmaker: problem with excluded packages
bzip2-host is optional and prevents to generate correct host build dependency if python2-host is build. After that firefox will fail to build as pip needs openssl.
Diffstat (limited to 'package/python2')
-rw-r--r--package/python2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 72b9f0574..8e870e55b 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -11,7 +11,7 @@ PKG_DESCR:= python scripting language (Version 2)
PKG_SECTION:= dev/lang
PKG_DEPENDS:= libffi
PKG_BUILDDEP:= libffi python2-host
-HOST_BUILDDEP:= libffi-host bzip2-host libressl-host
+HOST_BUILDDEP:= libffi-host libressl-host
PKG_NEEDS:= threads
PKG_URL:= http://www.python.org/
PKG_SITES:= http://www.python.org/ftp/python/${PKG_VERSION}/
@@ -147,7 +147,7 @@ endif
${CP} ${WRKINST}/usr/include/python2.7/pyconfig.h \
${IDIR_PYTHON2}/usr/include/python2.7
@-for i in zlib bz2 _curses _ssl gdbm _sqlite pyexpat readline; do \
- rm ${IDIR_PYTHON2}/usr/lib/python2.7/lib-dynload/$${i}*so; \
+ rm ${IDIR_PYTHON2}/usr/lib/python2.7/lib-dynload/$${i}*so 2>/dev/null; \
done
include ${ADK_TOPDIR}/mk/host-bottom.mk