commit: 29a9b9b90f986edfdbea997315d7bb34762e32a1
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 10:23:40 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 10:38:09 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a9b9b9
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 7372e09..8a055bf 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)
)