summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-01-09 16:52:25 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-05 21:40:48 +0100
commitf15a2cf74449851f703a20fd44ed6c28b458e19a (patch)
tree90080dd58c26f341d88c3a7f34ed5bec68b17041
parentsys-auth/polkit: Cleanup vulnerable 0.117-r2, 0.119-r2 and 0.120-r1 (diff)
downloadgentoo-f15a2cf74449851f703a20fd44ed6c28b458e19a.tar.gz
gentoo-f15a2cf74449851f703a20fd44ed6c28b458e19a.tar.bz2
gentoo-f15a2cf74449851f703a20fd44ed6c28b458e19a.zip
dev-util/ddd: EAPI-8 bump
Closes: https://bugs.gentoo.org/830853 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--dev-util/ddd/ddd-3.3.12-r5.ebuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/dev-util/ddd/ddd-3.3.12-r5.ebuild b/dev-util/ddd/ddd-3.3.12-r5.ebuild
index fe17fd18d911..0174afbfd0e7 100644
--- a/dev-util/ddd/ddd-3.3.12-r5.ebuild
+++ b/dev-util/ddd/ddd-3.3.12-r5.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=8
inherit autotools desktop optfeature
@@ -10,10 +10,12 @@ HOMEPAGE="https://www.gnu.org/software/ddd"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3 LGPL-3 FDL-1.1"
-KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
SLOT="0"
+KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="readline"
+RESTRICT="test"
+
COMMON_DEPEND="
sys-devel/gdb
sys-libs/ncurses:=
@@ -34,8 +36,6 @@ RDEPEND="${COMMON_DEPEND}
x11-apps/xfontsel
"
-RESTRICT="test"
-
PATCHES=(
"${FILESDIR}/${P}-gcc44.patch"
"${FILESDIR}/${P}-gdb-disassembler-bug.patch"
@@ -58,13 +58,12 @@ src_prepare() {
src_configure() {
econf \
- --disable-static \
$(use_with readline)
}
src_install() {
# Remove app defaults
- rm -f "${S}"/ddd/Ddd
+ rm -f "${S}"/ddd/Ddd || die
# Install ddd distribution
default
@@ -79,10 +78,8 @@ pkg_postinst() {
optfeature "Bash debugging" app-shells/bashdb
optfeature "Perl debugging" dev-lang/perl
optfeature "Python debugging" dev-python/pydb
-
- echo
+ elog
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'"
- echo
}