aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_security21
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-09-02 05:58:02 +0800
committerpav <pav@FreeBSD.org>2007-09-02 05:58:02 +0800
commite5e756b9071b3a1d840baf83c89bd36ecb3ddf90 (patch)
treec9e4f0902e75ff7570d6bafaa53ce519444df33a /www/mod_security21
parent65aa35afd377a168b43d94692d85c85c1afe8647 (diff)
downloadfreebsd-ports-gnome-e5e756b9071b3a1d840baf83c89bd36ecb3ddf90.tar.gz
freebsd-ports-gnome-e5e756b9071b3a1d840baf83c89bd36ecb3ddf90.tar.zst
freebsd-ports-gnome-e5e756b9071b3a1d840baf83c89bd36ecb3ddf90.zip
- Fix build with Apache 2.2: explicitly depend on pcre library
PR: ports/110645 Approved by: maintainer timeout (1 month)
Diffstat (limited to 'www/mod_security21')
-rw-r--r--www/mod_security21/Makefile8
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>