Hello!

we are using nginx with pcre_jit feature. however, devel/pcre comes
without jit enabled. I suggest to compile devel/pcre with jit by
default.


--- devel/pcre/Makefile.orig    Sat May  4 14:57:28 2013
+++ devel/pcre/Makefile Sat May  4 14:57:35 2013
@@ -30,11 +30,15 @@
 USE_LIBTOOL=           Yes
 USE_GROFF =            Yes
 CONFIGURE_STYLE=       gnu
+
+CFLAGS+=        -lpthread
+
 CONFIGURE_ARGS=                ${CONFIGURE_SHARED} \
                        --enable-pcre8 \
                        --enable-pcre16 \
                        --enable-utf \
-                       --enable-unicode-properties
+                       --enable-jit \
+                       --enable-unicode-properties

 # XXX compiler bugs
 .if ${MACHINE_ARCH} == "vax"

Reply via email to