summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-28 07:49:51 +0100
committerSam James <sam@gentoo.org>2022-10-28 07:56:01 +0100
commit6e54e5d541831d5361ce214394afaf98fe234d41 (patch)
tree33543e63202478904643102bc6cf08b5b3de3feb
parentdev-java/protobuf-java: fix live ebuild, other fixes (diff)
downloadgentoo-6e54e5d541831d5361ce214394afaf98fe234d41.tar.gz
gentoo-6e54e5d541831d5361ce214394afaf98fe234d41.tar.bz2
gentoo-6e54e5d541831d5361ce214394afaf98fe234d41.zip
sys-process/psmisc: add missing dejagnu test dep
Closes: https://bugs.gentoo.org/802414 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-process/psmisc/psmisc-23.4-r1.ebuild21
1 files changed, 15 insertions, 6 deletions
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)