summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/dwz')
-rw-r--r--sys-devel/dwz/dwz-0.13.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-devel/dwz/dwz-0.13.ebuild b/sys-devel/dwz/dwz-0.13.ebuild
index a99b0d53e373..58aaf22593d5 100644
--- a/sys-devel/dwz/dwz-0.13.ebuild
+++ b/sys-devel/dwz/dwz-0.13.ebuild
@@ -14,9 +14,15 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-2+ GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
-DEPEND="dev-libs/elfutils"
-RDEPEND="${DEPEND}"
+RDEPEND="dev-libs/elfutils"
+DEPEND="${RDEPEND}"
+BDEPEND="test? (
+ dev-util/dejagnu
+ dev-libs/elfutils[utils]
+)"
src_prepare() {
default