aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHorodniceanu Andrei <a.horodniceanu@proton.me>2024-01-04 13:45:41 +0200
committerAndrei Horodniceanu <a.horodniceanu@proton.me>2024-02-04 13:53:33 +0200
commit47b6ed5f3ffb4aa24afdca634f1b430da78dbfc2 (patch)
treee63cd23184cf1534a2e14d707c51b55965055fe8 /eclass
parentdmd.eclass: drop tools USE flag (diff)
downloaddlang-47b6ed5f3ffb4aa24afdca634f1b430da78dbfc2.tar.gz
dlang-47b6ed5f3ffb4aa24afdca634f1b430da78dbfc2.tar.bz2
dlang-47b6ed5f3ffb4aa24afdca634f1b430da78dbfc2.zip
dmd.eclass: add optfeature for dev-util/dlang-tools
Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/dmd.eclass4
1 files changed, 3 insertions, 1 deletions
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() {