aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2010-06-24 11:45:16 +0800
committerosa <osa@FreeBSD.org>2010-06-24 11:45:16 +0800
commit9efc039d97516dc9335a3cc983a051a8745ffde4 (patch)
tree2089c3ef15d1160d1aecbd426698c824a59673ad
parent131c5cdf240ddfd1cd2e35d1d03f9525bb29257b (diff)
downloadfreebsd-ports-gnome-9efc039d97516dc9335a3cc983a051a8745ffde4.tar.gz
freebsd-ports-gnome-9efc039d97516dc9335a3cc983a051a8745ffde4.tar.zst
freebsd-ports-gnome-9efc039d97516dc9335a3cc983a051a8745ffde4.zip
Illuminate GeoIP module. [1]
Fix typo for thirdparty udp module. [2] Do not bump PORTREVISION. Feature safe: yes Submitted by: Rainer Duffner <rainer@ultra-secure.de> [1] Vadim Goncharov aka nuclight via IRC [2] PR: ports/148092 [1]
-rw-r--r--www/nginx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 3437779d33f0..199d5ecde86c 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -27,6 +27,7 @@ OPTIONS= DEBUG "Build with debug" off \
HTTP_CACHE_MODULE "Enable http_cache module" on \
HTTP_DAV_MODULE "Enable http_webdav module" off \
HTTP_FLV_MODULE "Enable http_flv module" off \
+ HTTP_GEOIP_MODULE "Enable http_geoip module" off \
HTTP_GZIP_STATIC_MODULE "Enable http_gzip_static module" off \
HTTP_IMAGE_FILTER_MODULE "Enable http_image_filter module" off \
HTTP_PERL_MODULE "Enable http_perl module" off \
@@ -70,7 +71,7 @@ OPTIONS= DEBUG "Build with debug" off \
PASSENGER_MODULE "3rd party passenger module" off \
SLOWFS_CACHE_MODULE "3rd party slowfs_cache module" off \
SUPERVISORD_MODULE "3rd party supervisord module" off \
- UDPLOG_MODULE "3rd party updlog (syslog) module" off
+ UDPLOG_MODULE "3rd party udplog (syslog) module" off
WANT_GNOME= yes
MAKE_JOBS_SAFE= yes
@@ -225,6 +226,11 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_gunzip_filter_module-${NGINX_GUN
CONFIGURE_ARGS+=--with-http_flv_module
.endif
+.if defined(WITH_HTTP_GEOIP_MODULE)
+CONFIGURE_ARGS+=--with-http_geoip_module
+LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
+.endif
+
.if defined(WITH_HTTP_GZIP_STATIC_MODULE)
CONFIGURE_ARGS+=--with-http_gzip_static_module
.endif