summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-04 14:50:57 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-04 15:47:10 +0100
commit23d88d75bca4270e162dbfbf84878a77c5535a75 (patch)
tree41b61ddf918206eef6747a95063c4b9013c41909 /dev-debug
parentmedia-gfx/valentina: bump to 0.7.52 (diff)
downloadgentoo-23d88d75bca4270e162dbfbf84878a77c5535a75.tar.gz
gentoo-23d88d75bca4270e162dbfbf84878a77c5535a75.tar.bz2
gentoo-23d88d75bca4270e162dbfbf84878a77c5535a75.zip
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>
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/lldb/lldb-18.1.0_rc1.ebuild8
-rw-r--r--dev-debug/lldb/lldb-19.0.0.9999.ebuild8
-rw-r--r--dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild8
-rw-r--r--dev-debug/lldb/metadata.xml7
4 files changed, 25 insertions, 6 deletions
diff --git a/dev-debug/lldb/lldb-18.1.0_rc1.ebuild b/dev-debug/lldb/lldb-18.1.0_rc1.ebuild
index caf23a9a38ee..eb67407b87fc 100644
--- a/dev-debug/lldb/lldb-18.1.0_rc1.ebuild
+++ b/dev-debug/lldb/lldb-18.1.0_rc1.ebuild
@@ -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}
diff --git a/dev-debug/lldb/lldb-19.0.0.9999.ebuild b/dev-debug/lldb/lldb-19.0.0.9999.ebuild
index caf23a9a38ee..eb67407b87fc 100644
--- a/dev-debug/lldb/lldb-19.0.0.9999.ebuild
+++ b/dev-debug/lldb/lldb-19.0.0.9999.ebuild
@@ -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}
diff --git a/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild b/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild
index caf23a9a38ee..eb67407b87fc 100644
--- a/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild
+++ b/dev-debug/lldb/lldb-19.0.0_pre20240203.ebuild
@@ -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}
diff --git a/dev-debug/lldb/metadata.xml b/dev-debug/lldb/metadata.xml
index 072910296ca3..964390cac7fe 100644
--- a/dev-debug/lldb/metadata.xml
+++ b/dev-debug/lldb/metadata.xml
@@ -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>