summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-05 11:11:19 +0100
committerSam James <sam@gentoo.org>2023-05-05 11:13:47 +0100
commit0e358576a46f77eacf38d5e8c9d8bbc522dc5fe4 (patch)
tree9771a680aede6b26575d0c008a76d6237c640362 /sys-libs/binutils-libs
parentnet-mail/mailutils: add dejagnu test dep (diff)
downloadgentoo-0e358576a46f77eacf38d5e8c9d8bbc522dc5fe4.tar.gz
gentoo-0e358576a46f77eacf38d5e8c9d8bbc522dc5fe4.tar.bz2
gentoo-0e358576a46f77eacf38d5e8c9d8bbc522dc5fe4.zip
sys-libs/binutils-libs: add dejagnu test dep
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/binutils-libs')
-rw-r--r--sys-libs/binutils-libs/binutils-libs-2.40-r4.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/binutils-libs/binutils-libs-2.40-r4.ebuild b/sys-libs/binutils-libs/binutils-libs-2.40-r4.ebuild
index 728495450eff..fa23899f2ba9 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.40-r4.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.40-r4.ebuild
@@ -21,10 +21,14 @@ SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0/${PV%_p?}"
-IUSE="64-bit-bfd cet multitarget nls static-libs"
+IUSE="64-bit-bfd cet multitarget nls static-libs test"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+RESTRICT="!test? ( test )"
-BDEPEND="nls? ( sys-devel/gettext )"
+BDEPEND="
+ nls? ( sys-devel/gettext )
+ test? ( dev-util/dejagnu )
+"
DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
# Need a newer binutils-config that'll reset include/lib symlinks for us.
RDEPEND="${DEPEND}