ports/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in
Jimmy Olgeni 7e08aedb59 Update net-mgmt/netdata to version 1.15.0.
Other changes:

- Add LIB_DEPENDS on devel/libuv and archivers/liblz4 as suggested by portlint
- Add USES=ssl (portlint)
- Remove BUILD_DEPENDS (LIB_DEPENDS is sufficient)

Approved by:              mmokhi
Differential Revision:    https://reviews.freebsd.org/D20452
2019-05-29 20:31:21 +00:00

11 lines
490 B
Text

--- collectors/python.d.plugin/python.d.plugin.in.orig 2019-05-27 21:36:18 UTC
+++ collectors/python.d.plugin/python.d.plugin.in
@@ -3,7 +3,7 @@
if [[ "$OSTYPE" == "darwin"* ]]; then
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
fi
-exec "$(command -v python || command -v python3 || command -v python2 ||
+exec "$(command -v python || command -v python3.6 || command -v python2.7 ||
echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
# -*- coding: utf-8 -*-