summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2020-09-23 16:47:04 +0300
committerConrad Kostecki <conikost@gentoo.org>2020-09-23 23:53:54 +0200
commit8f41df9f4d63ad5e668b5615df76926746659158 (patch)
tree10f4c28f3d0d098616e09d3c980f8f7418ad38eb /sys-devel/dwz
parentsys-apps/hw-probe: update readme (diff)
downloadgentoo-8f41df9f4d63ad5e668b5615df76926746659158.tar.gz
gentoo-8f41df9f4d63ad5e668b5615df76926746659158.tar.bz2
gentoo-8f41df9f4d63ad5e668b5615df76926746659158.zip
sys-devel/dwz: Implement "test" USE flag
Closes: https://github.com/gentoo/gentoo/pull/17645 Closes: https://bugs.gentoo.org/744247 Signed-off-by: Konstantin Tokarev <annulen@yandex.ru> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
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