aboutsummaryrefslogtreecommitdiffstats
path: root/community/monitoring-plugins/fix-perl.patch
blob: bd24d92aac63d87145faabcaad7ca417acc79f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
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