diff options
-rw-r--r-- | net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd b/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd index 2185ffe1e486..1516ac616f85 100644 --- a/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd +++ b/net-mgmt/check_mk_agent/files/patch-check__mk__agent.freebsd @@ -1,6 +1,6 @@ ---- check_mk_agent.freebsd.orig 2020-02-05 09:13:20 UTC +--- check_mk_agent.freebsd.orig 2021-10-31 19:22:57 UTC +++ check_mk_agent.freebsd -@@ -41,15 +41,15 @@ +@@ -27,15 +27,15 @@ $MK_RUN_SYNC_PARTS || { export LC_ALL=C unset LANG @@ -17,10 +17,10 @@ # Make sure, locally installed binaries are found -PATH=$PATH:/usr/local/bin:/usr/local/sbin +PATH=$PATH:%%LOCALBASE%%/bin:%%LOCALBASE%%/sbin + [ -d /var/qmail/bin ] && PATH=$PATH:/var/qmail/bin # All executables in PLUGINSDIR will simply be executed and their - # ouput appended to the output of the agent. Plugins define their own -@@ -109,7 +109,7 @@ function run_cached() { +@@ -102,7 +102,7 @@ function run_cached() { # Cache file outdated and new job not yet running? Start it if [ -z "$USE_CACHEFILE" -a ! -e "$CACHEFILE.new" ] ; then |