dev-debug/gdb: add USE=babeltrace

Previously automagic.

Closes: https://bugs.gentoo.org/915017
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-03-17 21:16:01 +00:00
parent c6af387d00
commit 4998b85bb5
8 changed files with 26 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ SRC_URI="
LICENSE="GPL-3+ LGPL-2.1+"
SLOT="0"
IUSE="cet debuginfod guile lzma multitarget nls +python rocm +server sim source-highlight test vanilla xml xxhash zstd"
IUSE="babeltrace cet debuginfod guile lzma multitarget nls +python rocm +server sim source-highlight test vanilla xml xxhash zstd"
if [[ -n ${REGULAR_RELEASE} ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
fi
@@ -90,6 +90,7 @@ RDEPEND="
>=sys-libs/ncurses-5.2-r2:=
>=sys-libs/readline-7:=
sys-libs/zlib
babeltrace? ( dev-util/babeltrace:= )
debuginfod? (
dev-libs/elfutils[debuginfod(-)]
)
@@ -198,6 +199,7 @@ src_configure() {
# Disable modules that are in a combined binutils/gdb tree. bug #490566
--disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
$(use_with babeltrace)
$(use_with debuginfod)
$(use_enable test unit-tests)

View File

@@ -77,7 +77,7 @@ SRC_URI="
LICENSE="GPL-3+ LGPL-2.1+"
SLOT="0"
IUSE="cet debuginfod guile lzma multitarget nls +python rocm +server sim source-highlight test vanilla xml xxhash zstd"
IUSE="babeltrace cet debuginfod guile lzma multitarget nls +python rocm +server sim source-highlight test vanilla xml xxhash zstd"
if [[ -n ${REGULAR_RELEASE} ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
fi
@@ -94,6 +94,7 @@ RDEPEND="
>=sys-libs/ncurses-5.2-r2:=
>=sys-libs/readline-7:=
sys-libs/zlib
babeltrace? ( dev-util/babeltrace:= )
debuginfod? (
dev-libs/elfutils[debuginfod(-)]
)
@@ -202,6 +203,7 @@ src_configure() {
# Disable modules that are in a combined binutils/gdb tree. bug #490566
--disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
$(use_with babeltrace)
$(use_with debuginfod)
$(use_enable test unit-tests)

View File

@@ -77,7 +77,7 @@ SRC_URI="
LICENSE="GPL-3+ LGPL-2.1+"
SLOT="0"
IUSE="cet debuginfod guile lzma multitarget nls +python rocm +server sim source-highlight test vanilla xml xxhash zstd"
IUSE="babeltrace cet debuginfod guile lzma multitarget nls +python rocm +server sim source-highlight test vanilla xml xxhash zstd"
if [[ -n ${REGULAR_RELEASE} ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
fi
@@ -94,6 +94,7 @@ RDEPEND="
>=sys-libs/ncurses-5.2-r2:=
>=sys-libs/readline-7:=
sys-libs/zlib
babeltrace? ( dev-util/babeltrace:= )
debuginfod? (
dev-libs/elfutils[debuginfod(-)]
)
@@ -202,6 +203,7 @@ src_configure() {
# Disable modules that are in a combined binutils/gdb tree. bug #490566
--disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
$(use_with babeltrace)
$(use_with debuginfod)
$(use_enable test unit-tests)

View File

@@ -6,6 +6,7 @@
<name>Gentoo Toolchain Project</name>
</maintainer>
<use>
<flag name="babeltrace">Enable <pkg>dev-util/babeltrace</pkg> support</flag>
<flag name="cet">Enable Intel Control-flow Enforcement Technology.</flag>
<flag name="lzma">Support lzma compression in ELF debug info</flag>
<flag name="multitarget">Support all known targets in one gdb binary</flag>