aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-07-24 13:50:13 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-07-24 13:50:13 +0000
commit58e193397c14f0d5a52a0aa5eab515f6c38f2276 (patch)
tree0bf0ca7d5aa03c944089554f09b0a14ef56a975b /www
parent4e2393625897e8cd040c4878208d895ba0dc9be4 (diff)
downloadports-58e193397c14f0d5a52a0aa5eab515f6c38f2276.tar.gz
ports-58e193397c14f0d5a52a0aa5eab515f6c38f2276.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/mod_security/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
index a6d6bcd671d4..f5f4fffe098e 100644
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -88,6 +88,8 @@ CONFIGURE_ARGS+= --without-curl
REINPLACE_ARGS= -i ""
AP_EXTRAS+= -DWITH_LIBXML2
+CONFIGURE_ARGS+= --with-apxs=${APXS} --with-pcre=${LOCALBASE}
+
post-patch:
@${REINPLACE_CMD} -e '\
s|SecRuleEngine On|SecRuleEngine DetectionOnly|; \
@@ -98,6 +100,7 @@ post-patch:
.if defined(WITH_LUA)
${REINPLACE_CMD} -e 's|%%LUA_VER%%|${LUA_VER}|' ${WRKSRC}/configure
.endif
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
post-build:
.if defined(WITH_MLOGC)