| Name |
pcre2 |
| Description |
|
| Version |
10.46-1~deb13u1 |
| Package Base |
|
| Homepage |
|
| Maintainers |
['Matthew Vernon <matthew@debian.org>'] |
| Contributors |
[] |
| Distro-repo |
https://salsa.debian.org/debian/pcre2 |
| Sources |
['https://sources.debian.org/data/main/p/pcre2/10.46-1~deb13u1/debian/watch'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper', 'dpkg-dev', 'dh-autoreconf'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
|
#!/usr/bin/make -f
# See debhelper(7)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see dpkg-buildflags(1)
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# prefix names of functions in libpcreposix with PCRE2 to avoid clash with
# ones in libc.
export DEB_CFLAGS_MAINT_APPEND = -Dregcomp=PCRE2regcomp -Dregexec=PCRE2regexec -Dregerror=PCRE2regerror -Dregfree=PCRE2regfree
deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32 --disable-pcre2grep-callout
#enable JIT only on architectures that support it (see pcre2jit.3)
ifneq ($(filter amd64 armhf arm64 i386 loong64 mips mipsel mips64el powerpc ppc64 ppc64el riscv64 s390x, $(DEB_HOST_ARCH)),)
deb_maint_conf_args +=--enable-jit
else
deb_maint_conf_args +=--disable-jit
endif
%:
dh $@ --parallel --with autoreconf
override_dh_auto_configure:
dh_auto_configure -- $(deb_maint_conf_args)
override_dh_makeshlibs:
dh_makeshlibs -V --add-udeb=libpcre2-8-0-udeb
override_dh_strip:
dh_strip --dbgsym-migration='libpcre2-dbg (<< 10.34-2~)'