summaryrefslogtreecommitdiff
path: root/www
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
commit27e6ecd357cf25cbe4ced317ae2f92a647e49122 (patch)
treede15b1340ebd109511799430e87c209137eb0762 /www
parent58d40afc79fb20e157f8bc56437ab2b69986ee02 (diff)
downloadpkgsrc-27e6ecd357cf25cbe4ced317ae2f92a647e49122.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')
-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