Revision
83269
Author
cal@macports.org
Date
2011-08-29 05:15:30 -0700 (Mon, 29 Aug 2011)

Log Message

www/nginx: Add variant ipv6, default is enabled, closes #29438, openmaintainer

Modified Paths

Diff

Modified: trunk/dports/www/nginx/Portfile (83268 => 83269)


--- trunk/dports/www/nginx/Portfile	2011-08-29 12:11:24 UTC (rev 83268)
+++ trunk/dports/www/nginx/Portfile	2011-08-29 12:15:30 UTC (rev 83269)
@@ -5,6 +5,7 @@
 
 name                nginx
 version             1.0.5
+revision            1
 categories          www mail
 platforms           darwin
 license             BSD
@@ -58,6 +59,7 @@
                     --http-fastcgi-temp-path=${nginx_rundir}/fastcgi_temp \
                     --http-uwsgi-temp-path=${nginx_rundir}/uwsgi_temp
 
+default_variants    +ipv6
 universal_variant   no
 
 build.target        build
@@ -119,6 +121,10 @@
     configure.args-append   --with-http_stub_status_module
 }
 
+variant ipv6 description {Add support for ipv6} {
+    configure.args-append   --with-ipv6
+}
+
 # This variant has been labelled "perl5" so as to allow users to easily stick
 # with perl 5.x once perl 6.x is released; a "perl6" variant will also be added
 # at that time.