Commit 1f139121 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

pkg: Add a dependency to pcre2

But keep the current pcre dependency, they can both coexist.

Refs varnishcache/varnish-cache#3616
parent 32fa31c9
...@@ -20,7 +20,7 @@ license="BSD" ...@@ -20,7 +20,7 @@ license="BSD"
options="!check" # tests pass, but ran before packaging options="!check" # tests pass, but ran before packaging
depends="gcc libc-dev libgcc" depends="gcc libc-dev libgcc"
depends_dev= depends_dev=
makedepends="$depends_dev pcre-dev ncurses-dev libedit-dev py-docutils makedepends="$depends_dev pcre-dev pcre2-dev ncurses-dev libedit-dev py-docutils
linux-headers libunwind-dev python3 py3-sphinx" linux-headers libunwind-dev python3 py3-sphinx"
install="$pkgname.pre-install" install="$pkgname.pre-install"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-libs" subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-libs"
......
...@@ -8,6 +8,7 @@ Build-Depends: ...@@ -8,6 +8,7 @@ Build-Depends:
libedit-dev, libedit-dev,
libjemalloc-dev, libjemalloc-dev,
libncurses-dev, libncurses-dev,
libpcre2-dev,
libpcre3-dev, libpcre3-dev,
pkg-config, pkg-config,
python3-docutils, python3-docutils,
......
...@@ -21,6 +21,7 @@ BuildRequires: libedit-devel ...@@ -21,6 +21,7 @@ BuildRequires: libedit-devel
BuildRequires: make BuildRequires: make
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: pcre2-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3 BuildRequires: python3
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment