dev-debug/lldb: Add USE=debuginfod to expose transitive deps

Add USE=debuginfod to expose the transitive dependencies
on dev-cpp/cpp-httplib and net-misc/curl from sys-devel/llvm.  Static
linking is such a great idea, right?

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-02-04 14:50:57 +01:00
parent b300cd47a7
commit 23d88d75bc
4 changed files with 25 additions and 6 deletions

View File

@@ -11,17 +11,21 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0/${LLVM_SOABI}"
IUSE="+debug +libedit lzma ncurses +python test +xml"
IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml"
RESTRICT="test"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
DEPEND="
debuginfod? (
net-misc/curl:=
dev-cpp/cpp-httplib:=
)
libedit? ( dev-libs/libedit:0= )
lzma? ( app-arch/xz-utils:= )
ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
xml? ( dev-libs/libxml2:= )
~sys-devel/clang-${PV}
~sys-devel/llvm-${PV}
~sys-devel/llvm-${PV}[debuginfod=]
"
RDEPEND="
${DEPEND}

View File

@@ -11,17 +11,21 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0/${LLVM_SOABI}"
IUSE="+debug +libedit lzma ncurses +python test +xml"
IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml"
RESTRICT="test"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
DEPEND="
debuginfod? (
net-misc/curl:=
dev-cpp/cpp-httplib:=
)
libedit? ( dev-libs/libedit:0= )
lzma? ( app-arch/xz-utils:= )
ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
xml? ( dev-libs/libxml2:= )
~sys-devel/clang-${PV}
~sys-devel/llvm-${PV}
~sys-devel/llvm-${PV}[debuginfod=]
"
RDEPEND="
${DEPEND}

View File

@@ -11,17 +11,21 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0/${LLVM_SOABI}"
IUSE="+debug +libedit lzma ncurses +python test +xml"
IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml"
RESTRICT="test"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
DEPEND="
debuginfod? (
net-misc/curl:=
dev-cpp/cpp-httplib:=
)
libedit? ( dev-libs/libedit:0= )
lzma? ( app-arch/xz-utils:= )
ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
xml? ( dev-libs/libxml2:= )
~sys-devel/clang-${PV}
~sys-devel/llvm-${PV}
~sys-devel/llvm-${PV}[debuginfod=]
"
RDEPEND="
${DEPEND}

View File

@@ -7,4 +7,11 @@
<upstream>
<remote-id type="github">llvm/llvm-project</remote-id>
</upstream>
<use>
<flag name="debuginfod">
Expose the transitive dependencies on <pkg>net-misc/curl</pkg>
and <pkg>dev-cpp/cpp-httplib</pkg>) to match
<pkg>sys-devel/llvm</pkg>.
</flag>
</use>
</pkgmetadata>