summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2021-11-20 00:37:01 +0100
committergregor herrmann <gregoa@debian.org>2021-11-20 00:37:01 +0100
commitc9a8702d072c958516a85ddbd6fe182a57996858 (patch)
tree72558938ce3570217600abfbf9253dca7a6927c0
parent512e1833feacf5f31513c74f20fdde17d6ac858c (diff)
Build without PCRE support.
Remove libpcre3-dev from Build-Depends, and pass PCRE=0 to dh_auto_configure. If a patch to port the code from pcre3 to pcre2 emerges, this can be reverted. Closes: #1000095
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules3
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 3659bbe..b85447c 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,6 @@ Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
libjson-perl <!nocheck>,
- libpcre3-dev,
libtest-pod-perl <!nocheck>,
perl-xs-dev,
perl:native
diff --git a/debian/rules b/debian/rules
index 6c1f6c4..4b054ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
+override_dh_auto_configure:
+ dh_auto_configure -- PCRE=0
+
override_dh_auto_build:
dh_auto_build
iconv -f CP1251 -t UTF-8 README.ru >debian/README.ru