Merge latest changes from www/nginx-devel:

o add MAKE_JOBS_SAFE
 o make modules fetchable by fix MASTER_SITES
 o add support for http_gzip_static module [*]

Do not bump PORTREVISION.

[*] Patch from:	MZ aka zuborg at advancedhosters dot com
This commit is contained in:
Sergey A. Osokin 2009-03-26 14:12:29 +00:00
parent 0c6fe9fabb
commit 9006f039ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231067

View file

@ -23,6 +23,7 @@ OPTIONS= DEBUG "Enable nginx debugging" off \
HTTP_ADDITION_MODULE "Enable http_addition module" off \
HTTP_DAV_MODULE "Enable http_webdav module" off \
HTTP_FLV_MODULE "Enable http_flv module" off \
HTTP_GZIP_STATIC_MODULE "Enable http_gzip_static module" off \
HTTP_PERL_MODULE "Enable http_perl module" off \
HTTP_REALIP_MODULE "Enable http_realip module" off \
HTTP_REWRITE_MODULE "Enable http_rewrite module" on \
@ -36,6 +37,8 @@ OPTIONS= DEBUG "Enable nginx debugging" off \
MAIL_SSL_MODULE "Enable mail_ssl module" off \
WWW "Enable html sample files" on
MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
NGINX_VARDIR?= /var
@ -80,7 +83,7 @@ CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \
.if defined(WITH_HTTP_ACCESSKEY_MODULE)
NGINX_ACCESSKEY_MODULE_VERSION= 2.0.3
MASTER_SITES+= ${MASTER_SITE_LOCAL}:accesskey
MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:accesskey/}
MASTER_SITE_SUBDIR= osa/:accesskey
DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}.tar.gz:accesskey
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}
@ -98,6 +101,10 @@ CONFIGURE_ARGS+=--with-http_dav_module
CONFIGURE_ARGS+=--with-http_flv_module
.endif
.if defined(WITH_HTTP_GZIP_STATIC_MODULE)
CONFIGURE_ARGS+=--with-http_gzip_static_module
.endif
.if defined(WITH_HTTP_PERL_MODULE)
CATEGORIES+= perl5
CONFIGURE_ARGS+=--with-http_perl_module