1 |
commit: 67d71e92930ef8716512c0111c30d796e01a0880 |
2 |
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 09:27:20 2016 +0000 |
4 |
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 16:11:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d71e92 |
7 |
|
8 |
net-mail/notmuch: Rename debug flag to valgrind (in testing ebuild only) |
9 |
|
10 |
Require valgrind only for build. 'debug' flag was actually misused. |
11 |
|
12 |
Gentoo-Bug: 587560 |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
|
16 |
net-mail/notmuch/metadata.xml | 1 + |
17 |
net-mail/notmuch/notmuch-0.22-r2.ebuild | 8 ++++---- |
18 |
2 files changed, 5 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml |
21 |
index d476d72..332a3c0 100644 |
22 |
--- a/net-mail/notmuch/metadata.xml |
23 |
+++ b/net-mail/notmuch/metadata.xml |
24 |
@@ -15,6 +15,7 @@ |
25 |
<flag name="nmbug">Install experimental tag sharing / |
26 |
pseudo-bug-tracking script for Notmuch |
27 |
(see http://notmuchmail.org/nmbug/)</flag> |
28 |
+ <flag name="valgrind">Depend on dev-util/vagrind for test suite</flag> |
29 |
</use> |
30 |
<longdescription lang="en"> |
31 |
Notmuch is a system for indexing, searching, reading, and tagging large |
32 |
|
33 |
diff --git a/net-mail/notmuch/notmuch-0.22-r2.ebuild b/net-mail/notmuch/notmuch-0.22-r2.ebuild |
34 |
index 41765a4..6f415c8 100644 |
35 |
--- a/net-mail/notmuch/notmuch-0.22-r2.ebuild |
36 |
+++ b/net-mail/notmuch/notmuch-0.22-r2.ebuild |
37 |
@@ -22,9 +22,9 @@ KEYWORDS="~amd64 ~x86" |
38 |
REQUIRED_USE=" |
39 |
nmbug? ( python ) |
40 |
python? ( ${PYTHON_REQUIRED_USE} ) |
41 |
- test? ( crypt debug emacs python ) |
42 |
+ test? ( crypt emacs python valgrind ) |
43 |
" |
44 |
-IUSE="crypt debug doc emacs mutt nmbug python test" |
45 |
+IUSE="crypt doc emacs mutt nmbug python test valgrind" |
46 |
|
47 |
CDEPEND=" |
48 |
>=app-shells/bash-completion-1.9 |
49 |
@@ -35,7 +35,6 @@ CDEPEND=" |
50 |
>=sys-libs/zlib-1.2.5.2 |
51 |
sys-libs/talloc |
52 |
crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] ) |
53 |
- debug? ( dev-util/valgrind ) |
54 |
emacs? ( >=virtual/emacs-23 ) |
55 |
python? ( ${PYTHON_DEPS} ) |
56 |
" |
57 |
@@ -45,6 +44,7 @@ DEPEND="${CDEPEND} |
58 |
test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2] |
59 |
>=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb |
60 |
crypt? ( app-crypt/gnupg dev-libs/openssl ) ) |
61 |
+ valgrind? ( dev-util/valgrind ) |
62 |
" |
63 |
RDEPEND="${CDEPEND} |
64 |
crypt? ( app-crypt/gnupg ) |
65 |
@@ -99,7 +99,7 @@ src_prepare() { |
66 |
|
67 |
rm -f Makefile.config # assure that new Makefile.config will be generated |
68 |
|
69 |
- if use debug; then |
70 |
+ if use test; then |
71 |
append-cflags -g |
72 |
append-cxxflags -g |
73 |
fi |