1 |
commit: aa7954f2eed1aa85f1266e31c0c483a4c774eb17 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 31 22:16:23 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 22:16:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa7954f2 |
7 |
|
8 |
app-misc/abook: fix DEPEND, simplify ebuild |
9 |
|
10 |
- Fix DEPEND to include RDEPEND |
11 |
- Note that gettext is used as a header too, so DEPEND as well |
12 |
- Simplify src_compile / use flag-o-matic |
13 |
- Drop src_install |
14 |
|
15 |
Thanks-to: David Seifert <soap <AT> gentoo.org> |
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
.../{abook-0.6.1-r3.ebuild => abook-0.6.1-r4.ebuild} | 15 +++++++-------- |
19 |
1 file changed, 7 insertions(+), 8 deletions(-) |
20 |
|
21 |
diff --git a/app-misc/abook/abook-0.6.1-r3.ebuild b/app-misc/abook/abook-0.6.1-r4.ebuild |
22 |
similarity index 86% |
23 |
rename from app-misc/abook/abook-0.6.1-r3.ebuild |
24 |
rename to app-misc/abook/abook-0.6.1-r4.ebuild |
25 |
index d0229f26585..f6e46075e42 100644 |
26 |
--- a/app-misc/abook/abook-0.6.1-r3.ebuild |
27 |
+++ b/app-misc/abook/abook-0.6.1-r4.ebuild |
28 |
@@ -3,7 +3,7 @@ |
29 |
|
30 |
EAPI=7 |
31 |
|
32 |
-inherit autotools |
33 |
+inherit autotools flag-o-matic |
34 |
|
35 |
MY_P="${P/_/}" |
36 |
DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client" |
37 |
@@ -20,8 +20,9 @@ RDEPEND=" |
38 |
sys-libs/readline:= |
39 |
dev-libs/libvformat |
40 |
nls? ( virtual/libintl )" |
41 |
- |
42 |
-DEPEND=" |
43 |
+DEPEND="${RDEPEND} |
44 |
+ nls? ( sys-devel/gettext )" |
45 |
+BDEPEND=" |
46 |
sys-devel/autoconf-archive |
47 |
virtual/pkgconfig |
48 |
nls? ( sys-devel/gettext ) |
49 |
@@ -49,10 +50,8 @@ src_configure() { |
50 |
} |
51 |
|
52 |
src_compile() { |
53 |
- # bug 570428 |
54 |
- emake CFLAGS="${CFLAGS} -std=gnu89" |
55 |
-} |
56 |
+ # bug #570428 |
57 |
+ append-cflags -std=gnu89 |
58 |
|
59 |
-src_install() { |
60 |
- default |
61 |
+ emake CFLAGS="${CFLAGS}" |
62 |
} |