1 # $NetBSD: options.mk,v 1.9 2010/06/15 20:05:48 joerg Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
4 PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \
6 PKG_SUGGESTED_OPTIONS= ssl pcre
10 .include "../../mk/bsd.options.mk"
12 .if !empty(PKG_OPTIONS:Mssl)
13 .include "../../security/openssl/buildlink3.mk"
14 CONFIGURE_ARGS+= --with-mail_ssl_module
15 CONFIGURE_ARGS+= --with-http_ssl_module
18 .if !empty(PKG_OPTIONS:Mpcre)
19 .include "../../devel/pcre/buildlink3.mk"
21 CONFIGURE_ARGS+= --without-pcre
22 CONFIGURE_ARGS+= --without-http_rewrite_module
25 .if !empty(PKG_OPTIONS:Mdav)
26 CONFIGURE_ARGS+= --with-http_dav_module
29 .if !empty(PKG_OPTIONS:Mflv)
30 CONFIGURE_ARGS+= --with-http_flv_module
33 .if !empty(PKG_OPTIONS:Msub)
34 CONFIGURE_ARGS+= --with-http_sub_module
37 .if !empty(PKG_OPTIONS:Mgtools)
38 CONFIGURE_ARGS+= --with-google_perftools_module
41 .if !empty(PKG_OPTIONS:Mmail-proxy)
42 CONFIGURE_ARGS+= --with-mail
45 .if empty(PKG_OPTIONS:Mmemcache)
46 CONFIGURE_ARGS+= --without-http_memcached_module
49 .if !empty(PKG_OPTIONS:Mrealip)
50 CONFIGURE_ARGS+= --with-http_realip_module
53 .if !empty(PKG_OPTIONS:Minet6)
54 CONFIGURE_ARGS+= --with-ipv6
57 .if !empty(PKG_OPTIONS:Muwsgi)
58 EGFILES+= uwsgi_params
61 CONFIGURE_ARGS+= --without-http_uwsgi_module