From bcaca81fa3253110535dfcee56867c31ae34c6c2 Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 25 Aug 2022 00:39:59 +0300 Subject: [PATCH] libpcre2 ver. bump --- system/base/libpcre2/actions.py | 11 ++++++++--- system/base/libpcre2/pspec.xml | 11 ++++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/system/base/libpcre2/actions.py b/system/base/libpcre2/actions.py index ac5c5d15..b9a66148 100644 --- a/system/base/libpcre2/actions.py +++ b/system/base/libpcre2/actions.py @@ -14,7 +14,7 @@ bindir = "/usr/bin32" if get.buildTYPE() == "emul32" else "/usr/bin" def setup(): autotools.autoreconf("-vif") - autotools.configure("--enable-jit \ + options = "--enable-jit \ --libdir=%s \ --bindir=%s \ --enable-pcre2test-libreadline \ @@ -22,8 +22,13 @@ def setup(): --enable-pcre2-16 \ --enable-unicode \ --docdir=/%s/%s \ - --disable-static" % (LIBDIR, bindir, get.docDIR(), get.srcNAME())) - + --disable-static" % (LIBDIR, bindir, get.docDIR(), get.srcNAME()) + + if get.buildTYPE() != "emul32": + options += " --enable-pcre2grep-libz \ + --enable-pcre2grep-libbz2 \ + " + autotools.configure(options) pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") def build(): diff --git a/system/base/libpcre2/pspec.xml b/system/base/libpcre2/pspec.xml index d06bdb8e..6fdd69d7 100644 --- a/system/base/libpcre2/pspec.xml +++ b/system/base/libpcre2/pspec.xml @@ -12,7 +12,7 @@ library Perl-compatible regular expression library The PCRE (Perl Compatible Regular Expressions) library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. - https://ftp.pcre.org/pub/pcre/pcre2-10.35.tar.bz2 + https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2 readline-devel @@ -21,6 +21,8 @@ libpcre2 + zlib + bzip2 libgcc readline @@ -69,6 +71,13 @@ + + 2022-08-23 + 10.40 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-12-09 10.35