From dad3722564b5afa43b974a8db8dd276fbcb2acda Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 25 Sep 2021 10:13:16 +0200 Subject: [PATCH] fix usage of system pcre2 - explicitly add the libpcre2-dev B-D - use the right cmake switches for it --- debian/control | 1 + debian/rules | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 43909e6..50bcee6 100644 --- a/debian/control +++ b/debian/control @@ -31,6 +31,7 @@ Build-Depends: cmake (>= 3.18~), libmd4c-dev, libmd4c-html0-dev, libmtdev-dev [linux-any], + libpcre2-dev, libpng-dev, libpq-dev, libproxy-dev, diff --git a/debian/rules b/debian/rules index 6aaecdd..db3b194 100755 --- a/debian/rules +++ b/debian/rules @@ -46,8 +46,8 @@ override_dh_auto_configure: -DFEATURE_doubleconversion=ON \ -DFEATURE_glib=ON \ -DFEATURE_icu=ON \ - -DFEATURE_pcre=ON \ - -DFEATURE_system_pcre=ON \ + -DFEATURE_pcre2=ON \ + -DFEATURE_system_pcre2=ON \ -DFEATURE_zlib=ON \ -DFEATURE_ssl=ON \ -DFEATURE_libproxy=ON \