summaryrefslogtreecommitdiff
path: root/package/python3/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-11 14:50:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-11 15:10:49 +0200
commita61a2f4ae23f0179f4bb9ba9124c14e56259ba46 (patch)
tree99b00dac28fd08387d8b83dc8e989ce3bdebf172 /package/python3/Makefile
parentd183d1d06fff69d0fa62f02462e1dcf848f8c4f3 (diff)
python3: allow to use libopenssl
Diffstat (limited to 'package/python3/Makefile')
-rw-r--r--package/python3/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/package/python3/Makefile b/package/python3/Makefile
index 060ca4003..3d8761af2 100644
--- a/package/python3/Makefile
+++ b/package/python3/Makefile
@@ -17,7 +17,7 @@ PKG_URL:= http://www.python.org/
PKG_SITES:= http://legacy.python.org/ftp/python/${PKG_VERSION}/
PKG_FLAVOURS_PYTHON3:= MOD_ZLIB MOD_BZ2 MOD_SQLITE MOD_GDBM
-PKG_FLAVOURS_PYTHON3+= MOD_NCURSES MOD_SSL MOD_READLINE
+PKG_FLAVOURS_PYTHON3+= MOD_NCURSES MOD_LIBRESSL MOD_OPENSSL MOD_READLINE
PKGFD_MOD_ZLIB:= zlib support
PKGFB_MOD_ZLIB:= zlib
@@ -37,9 +37,12 @@ PKGFS_MOD_NCURSES:= libncurses
PKGFD_MOD_READLINE:= readline support
PKGFB_MOD_READLINE:= readline
PKGFS_MOD_READLINE:= libreadline
-PKGFD_MOD_SSL:= ssl support
-PKGFB_MOD_SSL:= libressl
-PKGFS_MOD_SSL:= libressl
+PKGFD_MOD_LIBRESSL:= libressl support
+PKGFB_MOD_LIBRESSL:= libressl
+PKGFS_MOD_LIBRESSL:= libressl
+PKGFD_MOD_OPENSSL:= openssl support
+PKGFB_MOD_OPENSSL:= openssl
+PKGFS_MOD_OPENSSL:= libopenssl
DISTFILES:= Python-${PKG_VERSION}.tar.xz
WRKDIST= ${WRKDIR}/Python-${PKG_VERSION}
@@ -67,7 +70,8 @@ $(eval $(call PKG_template,PYTHON3_MOD_BZ2,python3-mod-bz2,$(PKG_VERSION)-${PKG_
$(eval $(call PKG_template,PYTHON3_MOD_SQLITE,python3-mod-sqlite,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_SQLITE},${PKGFD_MOD_SQLITE},${PKG_SECTION}))
$(eval $(call PKG_template,PYTHON3_MOD_GDBM,python3-mod-gdbm,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_GDBM},${PKGFD_MOD_GDBM},${PKG_SECTION}))
$(eval $(call PKG_template,PYTHON3_MOD_NCURSES,python3-mod-ncurses,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_NCURSES},${PKGFD_MOD_NCURSES},${PKG_SECTION}))
-$(eval $(call PKG_template,PYTHON3_MOD_SSL,python3-mod-ssl,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_SSL},${PKGFD_MOD_SSL},${PKG_SECTION}))
+$(eval $(call PKG_template,PYTHON3_MOD_LIBRESSL,python3-mod-libressl,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_LIBRESSL},${PKGFD_MOD_LIBRESSL},${PKG_SECTION}))
+$(eval $(call PKG_template,PYTHON3_MOD_OPENSSL,python3-mod-openssl,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_OPENSSL},${PKGFD_MOD_OPENSSL},${PKG_SECTION}))
$(eval $(call PKG_template,PYTHON3_MOD_READLINE,python3-mod-readline,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_READLINE},${PKGFD_MOD_READLINE},${PKG_SECTION}))
$(eval $(call PKG_mod_template,PYTHON3_MOD_ZLIB,zlib))
@@ -75,7 +79,8 @@ $(eval $(call PKG_mod_template,PYTHON3_MOD_BZ2,_bz2))
$(eval $(call PKG_mod_template,PYTHON3_MOD_SQLITE,_sqlite))
$(eval $(call PKG_mod_template,PYTHON3_MOD_GDBM,_gdbm))
$(eval $(call PKG_mod_template,PYTHON3_MOD_NCURSES,_curses))
-$(eval $(call PKG_mod_template,PYTHON3_MOD_SSL,_ssl))
+$(eval $(call PKG_mod_template,PYTHON3_MOD_LIBRESSL,_ssl))
+$(eval $(call PKG_mod_template,PYTHON3_MOD_OPENSSL,_ssl))
$(eval $(call PKG_mod_template,PYTHON3_MOD_READLINE,readline))
MAKE_ENV+= HOSTPGEN=$(STAGING_HOST_DIR)/usr/bin/pgen3