summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-31 23:16:23 +0100
committerSam James <sam@gentoo.org>2021-07-31 23:16:23 +0100
commitaa7954f2eed1aa85f1266e31c0c483a4c774eb17 (patch)
treef684810d31a9c1331066ed3146bdf66af3d3510b /app-misc/abook
parentsys-apps/man-db: fix DESCRIPTION (diff)
downloadgentoo-aa7954f2eed1aa85f1266e31c0c483a4c774eb17.tar.gz
gentoo-aa7954f2eed1aa85f1266e31c0c483a4c774eb17.tar.bz2
gentoo-aa7954f2eed1aa85f1266e31c0c483a4c774eb17.zip
app-misc/abook: fix DEPEND, simplify ebuild
- Fix DEPEND to include RDEPEND - Note that gettext is used as a header too, so DEPEND as well - Simplify src_compile / use flag-o-matic - Drop src_install Thanks-to: David Seifert <soap@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/abook')
-rw-r--r--app-misc/abook/abook-0.6.1-r4.ebuild (renamed from app-misc/abook/abook-0.6.1-r3.ebuild)15
1 files changed, 7 insertions, 8 deletions
diff --git a/app-misc/abook/abook-0.6.1-r3.ebuild b/app-misc/abook/abook-0.6.1-r4.ebuild
index d0229f26585a..f6e46075e42e 100644
--- a/app-misc/abook/abook-0.6.1-r3.ebuild
+++ b/app-misc/abook/abook-0.6.1-r4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools
+inherit autotools flag-o-matic
MY_P="${P/_/}"
DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client"
@@ -20,8 +20,9 @@ RDEPEND="
sys-libs/readline:=
dev-libs/libvformat
nls? ( virtual/libintl )"
-
-DEPEND="
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+BDEPEND="
sys-devel/autoconf-archive
virtual/pkgconfig
nls? ( sys-devel/gettext )
@@ -49,10 +50,8 @@ src_configure() {
}
src_compile() {
- # bug 570428
- emake CFLAGS="${CFLAGS} -std=gnu89"
-}
+ # bug #570428
+ append-cflags -std=gnu89
-src_install() {
- default
+ emake CFLAGS="${CFLAGS}"
}