commit: cf32349509b9449d15e125ff7512f8be6445541a
Author: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Jan 3 15:15:30 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Feb 4 11:53:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=cf323495
dmd.eclass: drop tools USE flag
The tools USE flag is only used to pull in dlang-tools as a
dependency. As dev-lang/dmd doesn't actually require dlang-tools being
present to function, the dependency, along with the USE flag have been
dropped.
Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me>
dev-lang/dmd/metadata.xml | 1 -
eclass/dmd.eclass | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dev-lang/dmd/metadata.xml b/dev-lang/dmd/metadata.xml
index d9304f2..2d7f349 100644
--- a/dev-lang/dmd/metadata.xml
+++ b/dev-lang/dmd/metadata.xml
@@ -3,6 +3,5 @@
<pkgmetadata>
<use>
<flag name="selfhost">Bootstrap dmd using an upstream provided compiler
binary</flag>
- <flag name="tools">Pulls in dev-util/dlang-tools</flag>
</use>
</pkgmetadata>
diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index 2292e12..d19bdd1 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -84,7 +84,7 @@ fi
SONAME="${SONAME-libphobos2.so.0.${MINOR}.${PATCH}}"
SONAME_SYM="${SONAME%.*}"
-IUSE="doc examples static-libs tools"
+IUSE="doc examples static-libs"
# Self-hosting versions of DMD need a host compiler.
if dmd_ge 2.068; then
@@ -120,7 +120,6 @@ RDEPEND="
${COMMON_DEPEND}
!dev-lang/dmd-bin
"
-PDEPEND="tools? ( >=dev-util/dlang-tools-${PV} )"
S="${WORKDIR}/dmd2"
PREFIX="usr/lib/${PN}/${SLOT}"