Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164389150
D22909.id67537.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D22909.id67537.diff
View Options
Index: net-mgmt/netdata/Makefile
===================================================================
--- net-mgmt/netdata/Makefile
+++ net-mgmt/netdata/Makefile
@@ -3,6 +3,7 @@
PORTNAME= netdata
PORTVERSION= 1.19.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= net-mgmt
@@ -88,6 +89,8 @@
${PATCH_WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \
${PATCH_WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e 's|%%PYTHON%%|${PYTHON_CMD}|g' \
+ ${PATCH_WRKSRC}/collectors/python.d.plugin/python.d.plugin.in
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
Index: net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
===================================================================
--- net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
+++ net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
@@ -1,10 +1,10 @@
---- collectors/python.d.plugin/python.d.plugin.in.orig 2019-10-10 13:13:19 UTC
+--- collectors/python.d.plugin/python.d.plugin.in.orig 2020-01-30 23:22:27 UTC
+++ collectors/python.d.plugin/python.d.plugin.in
@@ -1,6 +1,6 @@
- #!/usr/local/bin/bash
+ #!/usr/bin/env bash
'''':;
-pybinary=$(which python || which python3 || which python2)
-+pybinary=$(which python || which python3.6 || which python2.7)
++pybinary=%%PYTHON%%
filtered=()
for arg in "$@"
do
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 1, 10:53 AM (12 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35819831
Default Alt Text
D22909.id67537.diff (1 KB)
Attached To
Mode
D22909: net-mgmt/netdata: Detect default version of Python if installed
Attached
Detach File
Event Timeline
Log In to Comment