dev-debug/strace: Sync with Gentoo

It's from Gentoo commit 2d23f177b27cd5a1fe9183ccc0509fb4b56072b7.
This commit is contained in:
Flatcar Buildbot 2025-03-31 07:06:01 +00:00
parent f772bda368
commit 11cdfaf254
4 changed files with 19 additions and 7 deletions

View File

@ -40,7 +40,6 @@ LIB_DEPEND="
DEPEND="
static? ( ${LIB_DEPEND} )
aio? ( >=dev-libs/libaio-0.3.106 )
sys-kernel/linux-headers
"
RDEPEND="
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
@ -84,14 +83,18 @@ src_configure() {
local myeconfargs=(
--disable-gcc-Werror
# Don't require mpers support on non-multilib systems. #649560
# Don't require mpers support on non-multilib systems (bug #649560)
--enable-mpers=check
# We don't want to pin to exact linux-headers versions (bug #950309)
--enable-bundled=yes
$(use_enable static)
$(use_with unwind libunwind)
$(use_with elfutils libdw)
$(use_with selinux libselinux)
)
econf "${myeconfargs[@]}"
}

View File

@ -16,7 +16,7 @@ else
https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz
verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz.asc )
"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
fi
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strace.asc
@ -40,7 +40,6 @@ LIB_DEPEND="
DEPEND="
static? ( ${LIB_DEPEND} )
aio? ( >=dev-libs/libaio-0.3.106 )
sys-kernel/linux-headers
"
RDEPEND="
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
@ -87,11 +86,15 @@ src_configure() {
# Don't require mpers support on non-multilib systems. #649560
--enable-mpers=check
# We don't want to pin to exact linux-headers versions (bug #950309)
--enable-bundled=yes
$(use_enable static)
$(use_with unwind libunwind)
$(use_with elfutils libdw)
$(use_with selinux libselinux)
)
econf "${myeconfargs[@]}"
}

View File

@ -40,7 +40,6 @@ LIB_DEPEND="
DEPEND="
static? ( ${LIB_DEPEND} )
aio? ( >=dev-libs/libaio-0.3.106 )
sys-kernel/linux-headers
"
RDEPEND="
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
@ -87,11 +86,15 @@ src_configure() {
# Don't require mpers support on non-multilib systems. #649560
--enable-mpers=check
# We don't want to pin to exact linux-headers versions (bug #950309)
--enable-bundled=yes
$(use_enable static)
$(use_with unwind libunwind)
$(use_with elfutils libdw)
$(use_with selinux libselinux)
)
econf "${myeconfargs[@]}"
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -40,7 +40,6 @@ LIB_DEPEND="
DEPEND="
static? ( ${LIB_DEPEND} )
aio? ( >=dev-libs/libaio-0.3.106 )
sys-kernel/linux-headers
"
RDEPEND="
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
@ -87,11 +86,15 @@ src_configure() {
# Don't require mpers support on non-multilib systems. #649560
--enable-mpers=check
# We don't want to pin to exact linux-headers versions (bug #950309)
--enable-bundled=yes
$(use_enable static)
$(use_with unwind libunwind)
$(use_with elfutils libdw)
$(use_with selinux libselinux)
)
econf "${myeconfargs[@]}"
}