summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNado <nado@troglodyte.be>2016-12-06 12:19:44 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2016-12-06 13:00:29 -0500
commite0a8ed1e5237a7cf1116bf4dbc89ce5cb80874a6 (patch)
treedbb702ae01cc23803897d02ef91d22c4cb9f7305 /dev-util/cgdb
parentwww-apps/prewikka: Bump version 3.1.0 (diff)
downloadgentoo-e0a8ed1e5237a7cf1116bf4dbc89ce5cb80874a6.tar.gz
gentoo-e0a8ed1e5237a7cf1116bf4dbc89ce5cb80874a6.tar.bz2
gentoo-e0a8ed1e5237a7cf1116bf4dbc89ce5cb80874a6.zip
dev-util/cgdb: add test feature to live ebuild
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-util/cgdb')
-rw-r--r--dev-util/cgdb/cgdb-9999.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-util/cgdb/cgdb-9999.ebuild b/dev-util/cgdb/cgdb-9999.ebuild
index af01627dadc6..b974589789b8 100644
--- a/dev-util/cgdb/cgdb-9999.ebuild
+++ b/dev-util/cgdb/cgdb-9999.ebuild
@@ -19,13 +19,17 @@ DESCRIPTION="A curses front-end for GDB, the GNU debugger"
HOMEPAGE="http://cgdb.github.io/"
LICENSE="GPL-2"
SLOT="0"
+IUSE="test"
-DEPEND="
+COMMONDEPEND="
sys-libs/ncurses:0=
sys-libs/readline:0="
+DEPEND="${COMMONDEPEND}
+ test? ( dev-util/dejagnu )"
+
RDEPEND="
- ${DEPEND}
+ ${COMMONDEPEND}
sys-devel/gdb"
DOCS=( AUTHORS ChangeLog INSTALL NEWS README.md TODO )