Diff libbpf-0.8.1 with a libbpf-1.2.0

/usr/portage/dev-libs/libbpf/libbpf-1.2.0.ebuild 2023-10-09 14:52:29.508368351 +0300
1
# Copyright 2019-2022 Gentoo Authors
1
# Copyright 2019-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
18 18
HOMEPAGE="https://github.com/libbpf/libbpf"
19 19

  
20 20
LICENSE="GPL-2 LGPL-2.1 BSD-2"
21
SLOT="0/$(ver_cut 1-2 ${PV})"
21
SLOT="0/$(ver_cut 1-2)"
22 22
IUSE="static-libs"
23 23

  
24 24
DEPEND="
25 25
	sys-kernel/linux-headers
26
	virtual/libelf
27
"
26
	virtual/libelf"
28 27
RDEPEND="${DEPEND}"
28
BDEPEND="virtual/pkgconfig"
29 29

  
30 30
PATCHES=(
31 31
	"${FILESDIR}"/libbpf-9999-paths.patch
......
33 33

  
34 34
src_configure() {
35 35
	append-cflags -fPIC
36
	tc-export CC AR
36
	tc-export CC AR PKG_CONFIG
37 37
	export LIBSUBDIR="$(get_libdir)"
38 38
	export PREFIX="${EPREFIX}/usr"
39 39
	export V=1
Thank you!