summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-01-31 03:09:19 +0000
committerrodent <rodent@pkgsrc.org>2014-01-31 03:09:19 +0000
commite2e9cf53b785f527eb63c1c99a960c907059851d (patch)
treede15b1340ebd109511799430e87c209137eb0762 /www/nginx
parent434e08571d05156bcaff9c925528caa73a16da50 (diff)
downloadpkgsrc-e2e9cf53b785f527eb63c1c99a960c907059851d.tar.gz
CONFIGURE_ARGS+=--with-pcre-jit for the pcre option. If pcre isn't compiled
with --enable-jit, this option doesn't break the build. If it is, users can still disable this feature by setting pcre_jit=off in nginx.conf.
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/nginx/options.mk b/www/nginx/options.mk
index 7228d0fa066..12c78ca1bb8 100644
--- a/www/nginx/options.mk
+++ b/www/nginx/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.22 2013/08/18 08:06:38 imil Exp $
+# $NetBSD: options.mk,v 1.23 2014/01/31 03:09:19 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache naxsi pcre \
@@ -28,6 +28,7 @@ CONFIGURE_ARGS+= --with-http_ssl_module
.if !empty(PKG_OPTIONS:Mpcre)
.include "../../devel/pcre/buildlink3.mk"
+CONFIGURE_ARGS+= --with-pcre-jit
.else
CONFIGURE_ARGS+= --without-pcre
CONFIGURE_ARGS+= --without-http_rewrite_module