summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2021-01-24 02:30:47 +0100
committerMaciej Mrozowski <reavertm@gentoo.org>2021-01-24 02:30:47 +0100
commitafa7efb81dfbf003d4c263e484980f6472a2ba59 (patch)
treeb661669b5ed0d5da608da9b63109e79aafd8548e /dev-util/ddd
parentdev-util/ddd: remove misleading post-inst message, bug 759130 (diff)
downloadgentoo-afa7efb81dfbf003d4c263e484980f6472a2ba59.tar.gz
gentoo-afa7efb81dfbf003d4c263e484980f6472a2ba59.tar.bz2
gentoo-afa7efb81dfbf003d4c263e484980f6472a2ba59.zip
dev-util/ddd: migrate to optfeature
Bug: https://bugs.gentoo.org/759130 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'dev-util/ddd')
-rw-r--r--dev-util/ddd/ddd-3.3.12-r4.ebuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/dev-util/ddd/ddd-3.3.12-r4.ebuild b/dev-util/ddd/ddd-3.3.12-r4.ebuild
index 8ca2724f7f5d..b0279808edf4 100644
--- a/dev-util/ddd/ddd-3.3.12-r4.ebuild
+++ b/dev-util/ddd/ddd-3.3.12-r4.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit autotools eutils
+inherit autotools eutils optfeature
DESCRIPTION="Graphical front-end for command-line debuggers"
HOMEPAGE="https://www.gnu.org/software/ddd"
@@ -74,19 +74,15 @@ src_install() {
}
pkg_postinst() {
- if ! has_version sci-visualization/gnuplot; then
- echo
- elog "To enable data visualization in DDD, install sci-visualization/gnuplot."
- fi
+ optfeature "Data visualisation" sci-visualization/gnuplot
+ optfeature "Java debugging" virtual/jdk
+ optfeature "Bash debugging" app-shells/bashdb
+ optfeature "Perl debugging" dev-lang/perl
+ optfeature "Python debugging" dev-python/pydb
+
echo
elog "Important notice: if you encounter DDD crashes during visualization, you might"
elog "have hit bug #459324. Try switching to plotting in external window:"
elog "Select Edit|Preferences|Helpers and switch 'plot window' to 'external'"
- elog
- elog "To be able to debug java, bash, perl or python scripts within DDD, install respectively:"
- elog " virtual/jdk"
- elog " app-shells/bashdb"
- elog " dev-lang/perl"
- elog " dev-python/pydb"
echo
}