commit: 67d71e92930ef8716512c0111c30d796e01a0880
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 2 09:27:20 2016 +0000
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sat Jul 2 16:11:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d71e92
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(-)
diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index d476d72..332a3c0 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -15,6 +15,7 @@
<flag name="nmbug">Install experimental tag sharing /
pseudo-bug-tracking script for Notmuch
(see http://notmuchmail.org/nmbug/)</flag>
+ <flag name="valgrind">Depend on dev-util/vagrind for test
suite</flag>
</use>
<longdescription lang="en">
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 41765a4..6f415c8 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