aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/collectd5
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2017-11-25 14:10:44 +0000
committerThomas Zander <riggs@FreeBSD.org>2017-11-25 14:10:44 +0000
commit5f2e7b4cc3db1d6a61fb20d7903991abc25c10be (patch)
tree356e33bd3761b98881b809b6615d87ea2bf658b4 /net-mgmt/collectd5
parent149f86c58f73bb325a1a5a1ee1bcca83af038d17 (diff)
downloadports-5f2e7b4cc3db1d6a61fb20d7903991abc25c10be.tar.gz
ports-5f2e7b4cc3db1d6a61fb20d7903991abc25c10be.zip
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)
Notes
Notes: svn path=/head/; revision=454882
Diffstat (limited to 'net-mgmt/collectd5')
-rw-r--r--net-mgmt/collectd5/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile
index 8af91e61c8a6..4e3ad57908ab 100644
--- a/net-mgmt/collectd5/Makefile
+++ b/net-mgmt/collectd5/Makefile
@@ -214,9 +214,10 @@ PING_LIB_DEPENDS= liboping.so:net/liboping
PING_CONFIGURE_ENABLE= ping
PING_CONFIGURE_WITH= liboping=${LOCALBASE}
-PYTHON_USES= python:2
+PYTHON_USES= python
PYTHON_CONFIGURE_ENABLE= python
PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD}
+PYTHON_CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c
RABBITMQ_CONFIGURE_ENABLE= rabbitmq