From 6e54e5d541831d5361ce214394afaf98fe234d41 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 28 Oct 2022 07:49:51 +0100 Subject: sys-process/psmisc: add missing dejagnu test dep Closes: https://bugs.gentoo.org/802414 Signed-off-by: Sam James --- sys-process/psmisc/psmisc-23.4-r1.ebuild | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'sys-process/psmisc') diff --git a/sys-process/psmisc/psmisc-23.4-r1.ebuild b/sys-process/psmisc/psmisc-23.4-r1.ebuild index 3d1f44243e5f..d878cf0a9306 100644 --- a/sys-process/psmisc/psmisc-23.4-r1.ebuild +++ b/sys-process/psmisc/psmisc-23.4-r1.ebuild @@ -12,15 +12,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="ipv6 nls selinux X" +IUSE="ipv6 nls selinux test X" +RESTRICT="!test? ( test )" -RDEPEND="!=app-i18n/man-pages-l10n-4.0.0-r0 - >=sys-libs/ncurses-5.7-r7:0= +RDEPEND=" + !=app-i18n/man-pages-l10n-4.0.0-r0 + >=sys-libs/ncurses-5.7-r7:= nls? ( virtual/libintl ) - selinux? ( sys-libs/libselinux )" + selinux? ( sys-libs/libselinux ) +" DEPEND="${RDEPEND}" -BDEPEND=">=sys-devel/libtool-2.2.6b - nls? ( sys-devel/gettext )" +BDEPEND=" + >=sys-devel/libtool-2.2.6b + nls? ( sys-devel/gettext ) + test? ( dev-util/dejagnu ) +" DOCS=( AUTHORS ChangeLog NEWS README ) @@ -40,6 +46,9 @@ src_configure() { ac_cv_func_realloc_0_nonnull=yes fi + # bug #802414 + touch testsuite/global-conf.exp || die + local myeconfargs=( --disable-harden-flags $(use_enable ipv6) -- cgit v1.2.3-65-gdbad