commit: 47b6ed5f3ffb4aa24afdca634f1b430da78dbfc2
Author: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu Jan 4 11:45:41 2024 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Feb 4 11:53:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=47b6ed5f
dmd.eclass: add optfeature for dev-util/dlang-tools
Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me>
eclass/dmd.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
index d19bdd1..1e49af7 100644
--- a/eclass/dmd.eclass
+++ b/eclass/dmd.eclass
@@ -35,7 +35,7 @@ HTML_DOCS="html/*"
# DMD supports amd64/x86 exclusively
MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit desktop edos2unix multilib-build toolchain-funcs
+inherit desktop edos2unix multilib-build optfeature toolchain-funcs
# @FUNCTION: dmd_eq
# @DESCRIPTION:
@@ -354,6 +354,8 @@ dmd_pkg_postinst() {
use examples && elog "Examples can be found in: /${PREFIX}/samples"
use doc && elog "HTML documentation is in: /usr/share/doc/${PF}/html"
+
+ optfeature "additional D development tools" "dev-util/dlang-tools"
}
dmd_pkg_postrm() {