aboutsummaryrefslogtreecommitdiffstats
path: root/community/monitoring-plugins/fix-perl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/monitoring-plugins/fix-perl.patch')
-rw-r--r--community/monitoring-plugins/fix-perl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/monitoring-plugins/fix-perl.patch b/community/monitoring-plugins/fix-perl.patch
new file mode 100644
index 0000000000..bd24d92aac
--- /dev/null
+++ b/community/monitoring-plugins/fix-perl.patch
@@ -0,0 +1,12 @@
+--- ./configure.ac.orig
++++ ./configure.ac
+@@ -120,6 +120,9 @@
+ ACX_HELP_STRING([--with-perl=PATH],
+ [sets path to perl executable]),
+ with_perl=$withval,with_perl=$PERL)
++if test "$with_perl" = "yes"; then
++ with_perl="$PERL"
++fi
+ AC_SUBST(PERL, $with_perl)
+
+ dnl openssl/gnutls