aboutsummaryrefslogtreecommitdiff
path: root/www/mod_evasive/Makefile
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2018-03-11 14:23:28 +0000
committerBernard Spil <brnrd@FreeBSD.org>2018-03-11 14:23:28 +0000
commita80b8e64edec36df028bf7d13088685e98955967 (patch)
tree4a9274a42036319acef7e1b987592404e0a7a7af /www/mod_evasive/Makefile
parent7b487e75865136df3eb272692a665e8cb05da846 (diff)
Notes
Diffstat (limited to 'www/mod_evasive/Makefile')
-rw-r--r--www/mod_evasive/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/mod_evasive/Makefile b/www/mod_evasive/Makefile
index 0abc4b09ee04..cd32bde76c17 100644
--- a/www/mod_evasive/Makefile
+++ b/www/mod_evasive/Makefile
@@ -30,7 +30,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|/bin/mail|/usr/bin/mail|g" \
${WRKSRC}/mod_evasive.c ${WRKSRC}/mod_evasive20.c \
${WRKSRC}/mod_evasiveNSAPI.c
-.if ${APACHE_VERSION:M24}
+.if ${APACHE_VERSION:M2.4}
@${REINPLACE_CMD} -e 's/remote_ip/client_ip/g' ${WRKSRC}/mod_evasive20.c
.endif