commit:     3de85ace798d0d7db3b3513653530488d14ecebe
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  1 07:14:19 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Sep  1 07:17:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de85ace

sys-apps/iproute2: Synced live ebuild

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/iproute2/iproute2-9999.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sys-apps/iproute2/iproute2-9999.ebuild 
b/sys-apps/iproute2/iproute2-9999.ebuild
index 14d225e3e58..367b3541cbf 100644
--- a/sys-apps/iproute2/iproute2-9999.ebuild
+++ b/sys-apps/iproute2/iproute2-9999.ebuild
@@ -52,6 +52,11 @@ PATCHES=(
        "${FILESDIR}"/${PN}-5.7.0-mix-signal.h-include.patch
 )
 
+doecho() {
+       echo "${@}"
+       "${@}" || die
+}
+
 src_prepare() {
        if ! use ipv6 ; then
                PATCHES+=(
@@ -102,8 +107,8 @@ src_configure() {
        popd >/dev/null
 
        # run "configure" script first which will create "config.mk"...
-       LIBBPF_FORCE="$(usex bpf on off)" \
-       econf
+       # Using econf breaks since 5.14.0 
(a9c3d70d902a0473ee5c13336317006a52ce8242)
+       doecho ./configure --libbpf_force $(usex bpf on off)
 
        # ...now switch on/off requested features via USE flags
        # this is only useful if the test did not set other things, per bug 
#643722

Reply via email to