summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-05-05 16:16:31 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-05-05 16:16:31 +0000
commita206004c5034a606de03aa341866eddcbc4eb83a (patch)
tree1eb8221f0468c16f7b1a9e972d503b2199bac2f1
parentsecurity/whatweb: update to latest github revision (diff)
Fix selection of HTTP_XSLT and MODSECURITY so that the proper LIB_DEPENDS on
libxslt is added.
-rw-r--r--www/nginx-devel/Makefile5
-rw-r--r--www/nginx/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index c68c1d3d99ad..5e43c0b243c3 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.9.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
@@ -512,7 +513,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825
.endif
.if ${PORT_OPTIONS:MHTTP_XSLT}
-USE_GNOME= libxml2 libxslt
+USE_GNOME+= libxml2 libxslt
CONFIGURE_ARGS+=--with-http_xslt_module
.endif
@@ -596,7 +597,7 @@ LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
libcurl.so:${PORTSDIR}/ftp/curl \
libyajl.so:${PORTSDIR}/devel/yajl
USE_APACHE= 22+
-USE_GNOME= libxml2
+USE_GNOME+= libxml2
MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION}/:modsecurity
DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity
CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index d593333ed2f0..99c63e1b5f46 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.8.0
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
@@ -508,7 +509,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825
.endif
.if ${PORT_OPTIONS:MHTTP_XSLT}
-USE_GNOME= libxml2 libxslt
+USE_GNOME+= libxml2 libxslt
CONFIGURE_ARGS+=--with-http_xslt_module
.endif
@@ -592,7 +593,7 @@ LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
libcurl.so:${PORTSDIR}/ftp/curl \
libyajl.so:${PORTSDIR}/devel/yajl
USE_APACHE= 22+
-USE_GNOME= libxml2
+USE_GNOME+= libxml2
MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION}/:modsecurity
DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity
CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity