Date: Sun, 28 Jan 2024 16:07:27 GMT From: Ruslan Makhmatkhanov <rm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d30f14fae690 - main - audio/ecasound: fix build with python3.1[x] Message-ID: <202401281607.40SG7RpB028324@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=d30f14fae69072bdce08c4af1583d461c2330a49 commit d30f14fae69072bdce08c4af1583d461c2330a49 Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-01-28 16:06:41 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-01-28 16:06:41 +0000 audio/ecasound: fix build with python3.1[x] PR: 275494 --- audio/ecasound/files/patch-configure | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/audio/ecasound/files/patch-configure b/audio/ecasound/files/patch-configure new file mode 100644 index 000000000000..f0346c8262ec --- /dev/null +++ b/audio/ecasound/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig 2020-01-11 12:16:00 UTC ++++ configure +@@ -6156,7 +6156,7 @@ $as_echo "none" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 + $as_echo "none" >&6; } + if test x$PYTHONPATH != xnone; then +- python_prefix_tmp=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"` ++ python_prefix_tmp=`python -c "import sysconfig; print(sysconfig.get_path('stdlib'))"` + else + python_prefix_tmp="DIR" + fi +@@ -6178,7 +6178,7 @@ $as_echo "$as_me: WARNING: + " >&2;} + else + pymoddirs="/usr/local/lib /usr/lib" +- pymoddirsmore=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"` ++ pymoddirsmore=`python -c "import sysconfig; print(sysconfig.get_path('stdlib'))"` + pymoddirs="$pymoddirs $pymoddirsmore" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pymoddirs" >&5 + $as_echo "$pymoddirs" >&6; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401281607.40SG7RpB028324>