summaryrefslogtreecommitdiff
path: root/dev-util/cgdb/cgdb-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cgdb/cgdb-9999.ebuild')
-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 af01627dadc..b974589789b 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 )