diff options
author | Holger Hoffstätte <holger@applied-asynchrony.com> | 2023-03-06 16:16:51 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-06 21:30:33 +0000 |
commit | 358434363326de24d0560133386f2359521a519d (patch) | |
tree | 92745d8601554d7bc24a0bdff856151ae4f125b1 /net-libs/xdp-tools | |
parent | gui-wm/gamescope: Bump to 3.11.52_beta6, drop old 3.11.52_beta2 (diff) | |
download | gentoo-358434363326de24d0560133386f2359521a519d.tar.gz gentoo-358434363326de24d0560133386f2359521a519d.tar.bz2 gentoo-358434363326de24d0560133386f2359521a519d.zip |
net-libs/xdp-tools: properly configure PREFIX/LIBDIR/BPF_OBJECT_DIR
The helper objects were installed correctly, but libxdp had the
wrong search path compiled in; this broke xdp-loader.
Closes: https://bugs.gentoo.org/899910
Bug: https://github.com/xdp-project/xdp-tools/issues/303
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/29959
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/xdp-tools')
-rw-r--r-- | net-libs/xdp-tools/xdp-tools-1.3.1-r1.ebuild (renamed from net-libs/xdp-tools/xdp-tools-1.3.1.ebuild) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild b/net-libs/xdp-tools/xdp-tools-1.3.1-r1.ebuild index 79e00d6eee96..95efd4e44792 100644 --- a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild +++ b/net-libs/xdp-tools/xdp-tools-1.3.1-r1.ebuild @@ -36,6 +36,9 @@ PATCHES=( ) src_configure() { + export PREFIX="${EPREFIX}/usr" + export LIBDIR="${PREFIX}/$(get_libdir)" + export BPF_OBJECT_DIR="${PREFIX}/lib/bpf" export PRODUCTION=1 export DYNAMIC_LIBXDP=1 export FORCE_SYSTEM_LIBBPF=1 @@ -45,9 +48,6 @@ src_configure() { src_test() { :; } src_install() { - export PREFIX="${EPREFIX}/usr" - export LIBDIR="${PREFIX}/$(get_libdir)" - export BPF_OBJECT_DIR="${PREFIX}/lib/bpf" default # To remove the scripts/testing files that are installed. |