From 677fe26a9ccd8c6b5a93519d006c6783fde4563f Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 21 Jul 2009 13:53:14 +0000 Subject: Add support for http_geoip module (introduced in 0.8.6). Do not bump PORTREVISION. --- www/nginx-devel/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'www/nginx-devel') diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index bf3161885b12..15d8d3fed692 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -25,6 +25,7 @@ OPTIONS= DEBUG "Enable nginx debugging" 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_PERL_MODULE "Enable http_perl module" off \ HTTP_RANDOM_INDEX_MODULE "Enable http_random_index module" off \ @@ -157,6 +158,11 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-fancyindex-${NGINX_FANCYINDEX_MODUL 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 -- cgit v1.2.3