Date: Wed, 11 Feb 2026 18:32:15 +0000 From: Vladimir Druzenko <vvd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Krzysztof <ports@bsdserwis.com> Subject: git: b43016bc2dd5 - main - net-mgmt/collectd5: Fix python hardcoded version Message-ID: <698ccb2f.3b006.5c0128d5@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=b43016bc2dd505292f290612bd25417e895857a6 commit b43016bc2dd505292f290612bd25417e895857a6 Author: Krzysztof <ports@bsdserwis.com> AuthorDate: 2026-02-11 18:31:21 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-02-11 18:31:21 +0000 net-mgmt/collectd5: Fix python hardcoded version PR: 293090 --- net-mgmt/collectd5/Makefile | 1 + net-mgmt/collectd5/files/patch-src_cpython.h | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile index fe1fd7c915de..b8a61662e572 100644 --- a/net-mgmt/collectd5/Makefile +++ b/net-mgmt/collectd5/Makefile @@ -218,6 +218,7 @@ PROMETHEUS_CONFIGURE_ENABLE= write_prometheus PYTHON_USES= gettext-runtime python PYTHON_CONFIGURE_ENABLE= python PYTHON_CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config +PYTHON_CFLAGS= -I${LOCALBASE}/include/${PYTHON_VERSION}/cpython RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c RABBITMQ_CONFIGURE_WITH= librabbitmq=${LOCALBASE} diff --git a/net-mgmt/collectd5/files/patch-src_cpython.h b/net-mgmt/collectd5/files/patch-src_cpython.h deleted file mode 100644 index 78fc41236fb8..000000000000 --- a/net-mgmt/collectd5/files/patch-src_cpython.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/cpython.h.orig 2020-07-20 09:50:14 UTC -+++ src/cpython.h -@@ -26,7 +26,7 @@ - - /* Some python versions don't include this by default. */ - --#include <longintrepr.h> -+#include <python3.11/cpython/longintrepr.h> - - /* These two macros are basically Py_BEGIN_ALLOW_THREADS and - * Py_BEGIN_ALLOW_THREADShome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698ccb2f.3b006.5c0128d5>
