From 67d71e92930ef8716512c0111c30d796e01a0880 Mon Sep 17 00:00:00 2001 From: Amadeusz Żołnowski Date: Sat, 2 Jul 2016 10:27:20 +0100 Subject: net-mail/notmuch: Rename debug flag to valgrind (in testing ebuild only) Require valgrind only for build. 'debug' flag was actually misused. Gentoo-Bug: 587560 Package-Manager: portage-2.3.0 --- net-mail/notmuch/metadata.xml | 1 + net-mail/notmuch/notmuch-0.22-r2.ebuild | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'net-mail') diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml index d476d7235ac2..332a3c073f59 100644 --- a/net-mail/notmuch/metadata.xml +++ b/net-mail/notmuch/metadata.xml @@ -15,6 +15,7 @@ Install experimental tag sharing / pseudo-bug-tracking script for Notmuch (see http://notmuchmail.org/nmbug/) + Depend on dev-util/vagrind for test suite Notmuch is a system for indexing, searching, reading, and tagging large diff --git a/net-mail/notmuch/notmuch-0.22-r2.ebuild b/net-mail/notmuch/notmuch-0.22-r2.ebuild index 41765a44695e..6f415c85b7ca 100644 --- a/net-mail/notmuch/notmuch-0.22-r2.ebuild +++ b/net-mail/notmuch/notmuch-0.22-r2.ebuild @@ -22,9 +22,9 @@ KEYWORDS="~amd64 ~x86" REQUIRED_USE=" nmbug? ( python ) python? ( ${PYTHON_REQUIRED_USE} ) - test? ( crypt debug emacs python ) + test? ( crypt emacs python valgrind ) " -IUSE="crypt debug doc emacs mutt nmbug python test" +IUSE="crypt doc emacs mutt nmbug python test valgrind" CDEPEND=" >=app-shells/bash-completion-1.9 @@ -35,7 +35,6 @@ CDEPEND=" >=sys-libs/zlib-1.2.5.2 sys-libs/talloc crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] ) - debug? ( dev-util/valgrind ) emacs? ( >=virtual/emacs-23 ) python? ( ${PYTHON_DEPS} ) " @@ -45,6 +44,7 @@ DEPEND="${CDEPEND} test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2] >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb crypt? ( app-crypt/gnupg dev-libs/openssl ) ) + valgrind? ( dev-util/valgrind ) " RDEPEND="${CDEPEND} crypt? ( app-crypt/gnupg ) @@ -99,7 +99,7 @@ src_prepare() { rm -f Makefile.config # assure that new Makefile.config will be generated - if use debug; then + if use test; then append-cflags -g append-cxxflags -g fi -- cgit v1.2.3-65-gdbad