View | Details | Raw Unified | Return to bug 243567
Collapse All | Expand All

(-)net-mgmt/netdata/Makefile (+3 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	netdata
4
PORTNAME=	netdata
5
PORTVERSION=	1.19.0
5
PORTVERSION=	1.19.0
6
PORTREVISION=	1
6
DISTVERSIONPREFIX=	v
7
DISTVERSIONPREFIX=	v
7
CATEGORIES=	net-mgmt
8
CATEGORIES=	net-mgmt
8
9
Lines 88-93 Link Here
88
	    ${PATCH_WRKSRC}/configure.ac
89
	    ${PATCH_WRKSRC}/configure.ac
89
	@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \
90
	@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \
90
	    ${PATCH_WRKSRC}/configure.ac
91
	    ${PATCH_WRKSRC}/configure.ac
92
	@${REINPLACE_CMD} -e 's|%%PYTHON%%|${PYTHON_CMD}|g' \
93
	    ${PATCH_WRKSRC}/collectors/python.d.plugin/python.d.plugin.in
91
94
92
post-install:
95
post-install:
93
	${MKDIR} ${STAGEDIR}${ETCDIR}
96
	${MKDIR} ${STAGEDIR}${ETCDIR}
(-)net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in (-3 / +3 lines)
Lines 1-10 Link Here
1
--- collectors/python.d.plugin/python.d.plugin.in.orig	2019-10-10 13:13:19 UTC
1
--- collectors/python.d.plugin/python.d.plugin.in.orig	2020-01-30 23:22:27 UTC
2
+++ collectors/python.d.plugin/python.d.plugin.in
2
+++ collectors/python.d.plugin/python.d.plugin.in
3
@@ -1,6 +1,6 @@
3
@@ -1,6 +1,6 @@
4
 #!/usr/local/bin/bash
4
 #!/usr/bin/env bash
5
 '''':;
5
 '''':;
6
-pybinary=$(which python || which python3 || which python2)
6
-pybinary=$(which python || which python3 || which python2)
7
+pybinary=$(which python || which python3.6 || which python2.7)
7
+pybinary=%%PYTHON%%
8
 filtered=()
8
 filtered=()
9
 for arg in "$@"
9
 for arg in "$@"
10
 do
10
 do

Return to bug 243567