diff options
Diffstat (limited to 'www/mod_security21/Makefile')
-rw-r--r-- | www/mod_security21/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/mod_security21/Makefile b/www/mod_security21/Makefile index 5bee20024478..2e592b83033b 100644 --- a/www/mod_security21/Makefile +++ b/www/mod_security21/Makefile @@ -60,6 +60,12 @@ USE_GNOME= libxml2 REINPLACE_ARGS= -i "" +.include <bsd.port.pre.mk> + +.if ${APACHE_VERSION} == 22 +LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre +.endif + post-patch: @${REINPLACE_CMD} -e '\ s|SecRuleEngine On|SecRuleEngine DetectionOnly|; \ @@ -79,4 +85,4 @@ post-install: @${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |