36 lines
863 B
Makefile
36 lines
863 B
Makefile
# $NetBSD: options.mk,v 1.4 2008/05/24 15:34:12 tnn2 Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
|
|
PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools
|
|
PKG_SUGGESTED_OPTIONS= ssl pcre
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-mail_ssl_module
|
|
CONFIGURE_ARGS+= --with-http_ssl_module
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpcre)
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-pcre
|
|
CONFIGURE_ARGS+= --without-http_rewrite_module
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdav)
|
|
CONFIGURE_ARGS+= --with-http_dav_module
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mflv)
|
|
CONFIGURE_ARGS+= --with-http_flv_module
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msub)
|
|
CONFIGURE_ARGS+= --with-http_sub_module
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtools)
|
|
CONFIGURE_ARGS+= --with-google_perftools_module
|
|
.endif
|