aboutsummaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2016-11-26 21:32:50 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2016-11-26 21:32:50 +0000
commit8bd98823ec0b8fa3a5d86e4f9f55e23b31c37ece (patch)
tree4b9e937a1fb23435ce4d130a98e1b356dd43710a /www/nginx
parentc6229d31123f25d9abb11cadbac8842ff74203a7 (diff)
downloadports-8bd98823ec0b8fa3a5d86e4f9f55e23b31c37ece.tar.gz
ports-8bd98823ec0b8fa3a5d86e4f9f55e23b31c37ece.zip
Notes
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 322dbbb64589..a4f6c79bdaee 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -862,6 +862,7 @@ LIB_DEPENDS+= libapr-1.so:devel/apr1 \
libyajl.so:devel/yajl
USE_APACHE= 22+
USE_GNOME+= libxml2
+USES+= pkgconfig shebangfix
MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION:S/RC/rc/}/:modsecurity
DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity
CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity
@@ -1272,7 +1273,9 @@ post-patch:
pre-configure:
.if ${PORT_OPTIONS:MMODSECURITY}
( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \
- CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module && \
+ CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module \
+ --with-pcre=${LOCALBASE} --with-yajl=${LOCALBASE} \
+ --with-curl=${LOCALBASE} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
.endif
.if ${PORT_OPTIONS:MSMALL_LIGHT}