From: Mike Frysinger Date: Wed, 12 Aug 2015 10:23:40 +0000 (-0400) Subject: sys-libs/ncurses: avoid building tests when unused X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29a9b9b90f986edfdbea997315d7bb34762e32a1;p=gentoo.git 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. --- 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) )