commit: 2dad65e395a806d04a219c95cf9e85830933dd88 Author: Violet Purcell <vimproved <AT> inventati <DOT> org> AuthorDate: Sat Jul 20 19:47:46 2024 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Sun Jul 21 07:29:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dad65e3
dev-util/bpftool: fix overriding of PV in 7.5.0 Closes: https://github.com/gentoo/gentoo/pull/37643 Signed-off-by: Violet Purcell <vimproved <AT> inventati.org> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> dev-util/bpftool/bpftool-7.5.0.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-util/bpftool/bpftool-7.5.0.ebuild b/dev-util/bpftool/bpftool-7.5.0.ebuild index 1e317304dc31..9a93a41059b6 100644 --- a/dev-util/bpftool/bpftool-7.5.0.ebuild +++ b/dev-util/bpftool/bpftool-7.5.0.ebuild @@ -11,14 +11,14 @@ DESCRIPTION="Tool for inspection and simple manipulation of eBPF programs and ma HOMEPAGE="https://kernel.org/" # Use PV to indicate the full kernel version -PV=6.10 -LINUX_V="${PV:0:1}.x" -LINUX_VER=$(ver_cut 1-2) +MY_PV=6.10 +LINUX_V="${MY_PV:0:1}.x" +LINUX_VER=$(ver_cut 1-2 ${MY_PV}) LINUX_SOURCES="linux-${LINUX_VER}.tar.xz" SRC_URI+="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}" -LINUX_PATCH=patch-${PV}.xz +LINUX_PATCH=patch-${MY_PV}.xz SRC_URI+=" https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_PATCH}" S_K="${WORKDIR}/linux-${LINUX_VER}"
