summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-09-01 09:14:19 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-09-01 09:17:26 +0200
commit3de85ace798d0d7db3b3513653530488d14ecebe (patch)
treef0c9f077c098ddc53c978eca7c6ef464fffc1d64
parentsys-apps/iproute2: Bump to version 5.14.0 (diff)
downloadgentoo-3de85ace798d0d7db3b3513653530488d14ecebe.tar.gz
gentoo-3de85ace798d0d7db3b3513653530488d14ecebe.tar.bz2
gentoo-3de85ace798d0d7db3b3513653530488d14ecebe.zip
sys-apps/iproute2: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-apps/iproute2/iproute2-9999.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-apps/iproute2/iproute2-9999.ebuild b/sys-apps/iproute2/iproute2-9999.ebuild
index 14d225e3e580..367b3541cbfe 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