mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
net-analyzer/net-snmp: port live to libpcre2
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -6,7 +6,7 @@ EAPI=8
|
||||
DISTUTILS_OPTIONAL=yes
|
||||
DISTUTILS_SINGLE_IMPL=yes
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
WANT_AUTOMAKE=none
|
||||
|
||||
inherit autotools distutils-r1 perl-module systemd
|
||||
@@ -47,7 +47,7 @@ COMMON_DEPEND="
|
||||
netlink? ( dev-libs/libnl:3 )
|
||||
pcap? ( net-libs/libpcap )
|
||||
pci? ( sys-apps/pciutils )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
pcre? ( dev-libs/libpcre2 )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? (
|
||||
$(python_gen_cond_dep '
|
||||
@@ -91,12 +91,6 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.8-pcap.patch
|
||||
"${FILESDIR}"/${PN}-5.8.1-mysqlclient.patch
|
||||
"${FILESDIR}"/${PN}-5.9-MakeMaker.patch
|
||||
"${FILESDIR}"/${P}-configure-clang16.patch
|
||||
# https://github.com/net-snmp/net-snmp/pull/493
|
||||
"${FILESDIR}"/${PN}-5.9.3-0001-Fix-LDFLAGS-vs-LIBS-ordering.patch
|
||||
"${FILESDIR}"/${PN}-5.9.3-0002-Tidy-up-net-snmp-config-output.patch
|
||||
"${FILESDIR}"/${PN}-5.9.3-0003-Prune-Libs.private-entries-in-netsnmp-.pc.in.patch
|
||||
"${FILESDIR}"/${PN}-5.9.3-0004-Search-for-ltinfo-in-configure-if-needed.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
@@ -148,7 +142,8 @@ src_configure() {
|
||||
$(use_with netlink nl) \
|
||||
$(use_with pcap) \
|
||||
$(use_with pci) \
|
||||
$(use_with pcre) \
|
||||
$(use_with pcre pcre2-8) \
|
||||
--without-pcre \
|
||||
$(use_with perl perl-modules INSTALLDIRS=vendor) \
|
||||
$(use_with python python-modules) \
|
||||
$(use_with rpm) \
|
||||
|
||||
Reference in New Issue
Block a user