forked from Mirror/frr
packaging: Use PCRE2 for .deb/.rpm builds
We have the support of PCRE2 since 061f5d1cb4
.
Also we already do this for containers (docker images).
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
1df6c57e69
commit
56ae4112cc
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -68,6 +68,7 @@ override_dh_auto_configure:
|
|||
--enable-ospfapi \
|
||||
--enable-bgp-vnc \
|
||||
--enable-multipath=256 \
|
||||
--enable-pcre2posix \
|
||||
\
|
||||
--enable-user=frr \
|
||||
--enable-group=frr \
|
||||
|
|
|
@ -189,6 +189,7 @@ BuildRequires: ncurses-devel
|
|||
BuildRequires: readline-devel
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: libyang-devel >= 2.1.128
|
||||
BuildRequires: pcre2-devel
|
||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||
#python27-devel is available from ius community repo for RedHat/CentOS 6
|
||||
BuildRequires: python27-devel
|
||||
|
@ -448,7 +449,8 @@ Adds GRPC support to the individual FRR daemons.
|
|||
%else
|
||||
--disable-grpc \
|
||||
%endif
|
||||
--enable-snmp
|
||||
--enable-snmp \
|
||||
--enable-pcre2posix \
|
||||
# end
|
||||
|
||||
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
|
||||
|
|
Loading…
Reference in a new issue