From: Amadeusz Żołnowski Date: Sat, 2 Jul 2016 09:27:20 +0000 (+0100) Subject: net-mail/notmuch: Rename debug flag to valgrind (in testing ebuild only) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=67d71e92930ef8716512c0111c30d796e01a0880;p=gentoo.git 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 --- 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