summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-03-13 10:00:14 +0000
committerfhajny <fhajny@pkgsrc.org>2012-03-13 10:00:14 +0000
commit02893c1a0ac4206b1438780369956c624aa5803e (patch)
tree1192c8a80e6c1ffe803d8e9f91d789eafd20ec5a /www/nginx
parent6d66fe5c2aff32d557ff7c71b8c9092003c51b38 (diff)
downloadpkgsrc-02893c1a0ac4206b1438780369956c624aa5803e.tar.gz
Add an option to generate stats via http_stub_status_module
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/options.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/nginx/options.mk b/www/nginx/options.mk
index 22411dac153..81629b554b1 100644
--- a/www/nginx/options.mk
+++ b/www/nginx/options.mk
@@ -1,8 +1,9 @@
-# $NetBSD: options.mk,v 1.12 2011/12/13 22:00:47 joerg Exp $
+# $NetBSD: options.mk,v 1.13 2012/03/13 10:00:14 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache pcre \
- push realip ssl sub uwsgi image-filter upload debug
+ push realip ssl sub uwsgi image-filter upload debug \
+ status
PKG_SUGGESTED_OPTIONS= pcre ssl
PLIST_VARS+= uwsgi
@@ -92,3 +93,7 @@ SITES.${NGX_UPLOAD_DISTFILE}= http://www.grid.net.ru/nginx/download/
.include "../../graphics/gd/buildlink3.mk"
CONFIGURE_ARGS+= --with-http_image_filter_module
.endif
+
+.if !empty(PKG_OPTIONS:Mstatus)
+CONFIGURE_ARGS+= --with-http_stub_status_module
+.endif