public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
Date: Mon,  6 Mar 2023 21:32:09 +0000 (UTC)	[thread overview]
Message-ID: <1678138233.358434363326de24d0560133386f2359521a519d.sam@gentoo> (raw)

commit:     358434363326de24d0560133386f2359521a519d
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Mon Mar  6 15:16:51 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  6 21:30:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35843436

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 <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/29959
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../xdp-tools/{xdp-tools-1.3.1.ebuild => xdp-tools-1.3.1-r1.ebuild} | 6 +++---
 1 file 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
similarity index 100%
rename from net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
rename to 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.


             reply	other threads:[~2023-03-06 21:32 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06 21:32 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-15 18:21 [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/ Arthur Zamarin
2025-02-15 15:29 Sam James
2025-02-15 13:45 Sam James
2025-02-15 13:34 Arthur Zamarin
2025-02-15 13:01 Arthur Zamarin
2025-02-08  1:29 Sam James
2025-01-23 23:55 Jakov Smolić
2025-01-23 21:59 Sam James
2025-01-10  9:51 Florian Schmaus
2024-12-07  6:28 Arthur Zamarin
2024-09-12  5:53 Joonas Niilola
2024-08-28  6:39 Joonas Niilola
2024-08-09 14:39 Arthur Zamarin
2024-06-21 18:22 Sam James
2024-03-26 20:17 Ionen Wolkens
2024-03-26 20:17 Ionen Wolkens
2024-03-21  2:41 Sam James
2024-02-19  7:35 Sam James
2023-12-27 15:47 Sam James
2023-12-24 23:07 Conrad Kostecki
2023-11-22 12:02 Sam James
2023-10-06 18:08 Sam James
2023-08-27 20:30 Sam James
2023-08-12 21:07 Marek Szuba
2023-03-06 13:44 Arthur Zamarin
2023-03-06 12:52 Arthur Zamarin
2023-03-05 14:38 Sam James
2023-03-05 14:38 Sam James
2023-03-05 14:38 Sam James
2022-04-07 16:25 Jason A. Donenfeld
2022-04-05  0:21 Jason A. Donenfeld
2022-02-05 23:59 Jason A. Donenfeld
2021-12-27 17:38 Arthur Zamarin
2021-12-27 17:37 Arthur Zamarin
2021-10-29 12:26 Jason A. Donenfeld
2021-10-29 12:18 Jason A. Donenfeld
2021-10-29 12:10 Jason A. Donenfeld
2021-10-29 12:01 Jason A. Donenfeld
2021-10-29 11:54 Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1678138233.358434363326de24d0560133386f2359521a519d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox