From 29a9b9b90f986edfdbea997315d7bb34762e32a1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 12 Aug 2015 06:23:40 -0400 Subject: [PATCH] sys-libs/ncurses: avoid building tests when unused If the user isn't going to run the testsuite, there's no point in building all the test binaries, so put that logic behind the standard USE=test. --- sys-libs/ncurses/ncurses-6.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-libs/ncurses/ncurses-6.0.ebuild b/sys-libs/ncurses/ncurses-6.0.ebuild index 7372e09a5895..8a055bf713ea 100644 --- a/sys-libs/ncurses/ncurses-6.0.ebuild +++ b/sys-libs/ncurses/ncurses-6.0.ebuild @@ -18,7 +18,7 @@ LICENSE="MIT" # The subslot reflects the SONAME. SLOT="5/6" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="ada +cxx debug doc gpm minimal profile static-libs tinfo trace unicode" +IUSE="ada +cxx debug doc gpm minimal profile static-libs test tinfo trace unicode" DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )" # berkdb? ( sys-libs/db )" @@ -115,6 +115,7 @@ do_configure() { $(use_enable !debug leaks) $(use_with debug expanded) $(use_with !debug macros) + $(use_with test tests) $(use_with trace) $(use_with tinfo termlib) ) -- 2.26.2