hmm, next patch edition.
--- devel/pcre/Makefile.orig Sat May 4 14:57:28 2013
+++ devel/pcre/Makefile Sat May 4 12:17:52 2013
@@ -30,11 +30,18 @@
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
+
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-pcre8 \
--enable-pcre16 \
--enable-utf \
- --enable-unicode-properties
+ --enable-unicode-properties
+
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" ||
${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" ||
${MACHINE_ARCH} == "arm"
+CFLAGS+=-lpthread
+CONFIGURE_ARGS+=--enable-jit
+.endif
+
# XXX compiler bugs
.if ${MACHINE_ARCH} == "vax"
2013/5/4 Matthias Kilian <[email protected]>:
> On Sat, May 04, 2013 at 01:02:43PM +0600, ???? ??????? wrote:
>> 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.
>
> From the README:
>
> This support is available only for certain hardware
> architectures. If you try to enable it on an unsupported
> architecture, there will be a compile time error.
>
> Did you check wether it works on all architectures OpenBSD runs on?
>
> Ciao,
> Kili