pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/pcre2 pcre2: disable JIT by default on NetBSD
details: https://anonhg.NetBSD.org/pkgsrc/rev/fb67c5bedba0
branches: trunk
changeset: 385310:fb67c5bedba0
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Sep 14 09:35:01 2022 +0000
description:
pcre2: disable JIT by default on NetBSD
See
https://mail-index.netbsd.org/pkgsrc-users/2022/09/11/msg036184.html
for more details.
Bump PKGREVISION.
diffstat:
devel/pcre2/Makefile | 3 ++-
devel/pcre2/options.mk | 10 +++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 4bb54eabb168 -r fb67c5bedba0 devel/pcre2/Makefile
--- a/devel/pcre2/Makefile Wed Sep 14 08:40:16 2022 +0000
+++ b/devel/pcre2/Makefile Wed Sep 14 09:35:01 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2022/04/20 20:14:48 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2022/09/14 09:35:01 wiz Exp $
DISTNAME= pcre2-10.40
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=PhilipHazel/}
GITHUB_RELEASE= ${DISTNAME}
diff -r 4bb54eabb168 -r fb67c5bedba0 devel/pcre2/options.mk
--- a/devel/pcre2/options.mk Wed Sep 14 08:40:16 2022 +0000
+++ b/devel/pcre2/options.mk Wed Sep 14 09:35:01 2022 +0000
@@ -1,18 +1,22 @@
-# $NetBSD: options.mk,v 1.2 2017/09/07 14:50:44 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2022/09/14 09:35:01 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pcre2
PKG_SUPPORTED_OPTIONS= pcre2-jit
+.include "../../mk/bsd.options.mk"
+
.if (${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64" || \
${MACHINE_ARCH} == "mips" || \
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc" || \
(!empty(MACHINE_ARCH:M*arm*) && empty(MACHINE_ARCH:M*armv4*)))
+.if ${OPSYS} != "NetBSD"
+# causes core dumps in rspamd
+# https://mail-index.netbsd.org/pkgsrc-users/2022/09/11/msg036184.html
PKG_SUGGESTED_OPTIONS= pcre2-jit
.endif
-
-.include "../../mk/bsd.options.mk"
+.endif
.if !empty(PKG_OPTIONS:Mpcre2-jit)
CONFIGURE_ARGS+= --enable-jit
Home |
Main Index |
Thread Index |
Old Index