diff options
author | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2016-07-02 10:27:20 +0100 |
---|---|---|
committer | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2016-07-02 17:11:56 +0100 |
commit | 67d71e92930ef8716512c0111c30d796e01a0880 (patch) | |
tree | 0ca7ce7ff8adec8fb71c4bb2e0835a977bed1ac2 /net-mail | |
parent | app-backup/burp: Move scripts out of /etc (diff) | |
download | gentoo-67d71e92930ef8716512c0111c30d796e01a0880.tar.gz gentoo-67d71e92930ef8716512c0111c30d796e01a0880.tar.bz2 gentoo-67d71e92930ef8716512c0111c30d796e01a0880.zip |
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
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/notmuch/metadata.xml | 1 | ||||
-rw-r--r-- | 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 d476d7235ac2..332a3c073f59 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 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 |