From 5957226cc0db5fe6cb88aac9e99044793cf82bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 18 Nov 2022 15:10:18 +0700 Subject: [PATCH] mod_wsgi: link with python-3.11 --- srcpkgs/mod_wsgi/patches/cross-python.patch | 2 +- srcpkgs/mod_wsgi/template | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mod_wsgi/patches/cross-python.patch b/srcpkgs/mod_wsgi/patches/cross-python.patch index 6882cf9b135..8157e1046de 100644 --- a/srcpkgs/mod_wsgi/patches/cross-python.patch +++ b/srcpkgs/mod_wsgi/patches/cross-python.patch @@ -108,7 +108,7 @@ - import sysconfig; \ - stdout.write(sysconfig.get_config_var("LIBS"))'` -fi -+PYTHONLIBDIR=$($PYTHON-config --ldflags) ++LDLIBS1=$($PYTHON-config --ldflags --embed) CFLAGS1="" for arg in ${CFLAGS} diff --git a/srcpkgs/mod_wsgi/template b/srcpkgs/mod_wsgi/template index 58fdf90ea18..0e809221294 100644 --- a/srcpkgs/mod_wsgi/template +++ b/srcpkgs/mod_wsgi/template @@ -1,7 +1,7 @@ # Template file for 'mod_wsgi' pkgname=mod_wsgi version=4.9.4 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="python3 perl automake libtool apache-devel" makedepends="apache-devel python3-devel apr-devel" @@ -13,7 +13,6 @@ changelog="https://modwsgi.readthedocs.io/en/latest/release-notes/version-${vers distfiles="https://github.com/GrahamDumpleton/mod_wsgi/archive/${version}.tar.gz" checksum=ee926a3fd5675890b908ebc23db1f8f7f03dc3459241abdcf35d46c68e1be29b lib32disabled=yes -LDFLAGS=-lpython3 pre_configure() { if [ "$CROSS_BUILD" ]; then