Summary: | net-mgmt/collectd5 will use python3 if present at configure-time | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mikhail T. <freebsd-2024> | ||||
Component: | Individual Port(s) | Assignee: | Thomas Zander <riggs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | ports, riggs | ||||
Priority: | --- | Keywords: | easy, patch-ready | ||||
Version: | Latest | Flags: | ports:
maintainer-feedback+
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
OK, I approve this patch. I've checked collectd documentation that python 2.6 is minimum (we have python 2.7 in ports tree). A commit references this bug: Author: riggs Date: Sat Nov 25 14:10:44 UTC 2017 New revision: 454882 URL: https://svnweb.freebsd.org/changeset/ports/454882 Log: Allow collectd to use python3 if optional python support is activated PR: 222742 Submitted by: mi@ALDAN.algebra.com Approved by: ports@bsdserwis.com (maintainer) MFH: 2017Q4 (ports-secteam fix blanket) Changes: head/net-mgmt/collectd5/Makefile A commit references this bug: Author: riggs Date: Sat Nov 25 14:36:10 UTC 2017 New revision: 454885 URL: https://svnweb.freebsd.org/changeset/ports/454885 Log: MFH: r454882 Allow collectd to use python3 if optional python support is activated PR: 222742 Submitted by: mi@ALDAN.algebra.com Approved by: ports-secteam (fix blanket) ports@bsdserwis.com (maintainer) Changes: _U branches/2017Q4/ branches/2017Q4/net-mgmt/collectd5/Makefile |
Created attachment 186868 [details] Pass the correct python-configure script to configure Although the port states python:2, the collectd's configure will use python3-configure, if found during configuration time. The patch solves both problem -- removes the explicit setting of version 2 (people trying to use python-3 ought to be able to) and passes the additional variable to configure to explicitly specify, which python-configure script to use. There is no need for PORTREVISION bump, because the change does not affect default settings.