Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libasyncns/
Date: Sat, 16 Feb 2019 08:27:04
Message-Id: 1550305583.e795279f8667a28e00dc505dddbbd08ccf774daf.pacho@gentoo
1 commit: e795279f8667a28e00dc505dddbbd08ccf774daf
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 16 08:26:23 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 16 08:26:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e795279f
7
8 net-libs/libasyncns: Adap to new EAPIs
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 net-libs/libasyncns/libasyncns-0.8-r4.ebuild | 16 ++++++++--------
14 1 file changed, 8 insertions(+), 8 deletions(-)
15
16 diff --git a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild
17 index 73535f3dd2b..4d10bdbdf78 100644
18 --- a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild
19 +++ b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild
20 @@ -1,8 +1,8 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 -inherit autotools-multilib eutils flag-o-matic libtool multilib multilib-minimal
27 +EAPI=7
28 +inherit autotools flag-o-matic multilib-minimal
29
30 DESCRIPTION="C library for executing name service queries asynchronously"
31 HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/"
32 @@ -19,10 +19,11 @@ RDEPEND=""
33 DEPEND="doc? ( app-doc/doxygen )"
34
35 src_prepare() {
36 + default
37 # fix libdir in pkgconfig file
38 - epatch "${FILESDIR}/${P}-libdir.patch"
39 + eapply "${FILESDIR}/${P}-libdir.patch"
40 # fix configure check for res_query
41 - epatch "${FILESDIR}/${P}-configure-res_query.patch"
42 + eapply "${FILESDIR}/${P}-configure-res_query.patch"
43 eautoreconf
44 }
45
46 @@ -34,13 +35,12 @@ multilib_src_configure() {
47 econf \
48 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
49 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
50 - --disable-dependency-tracking \
51 --disable-lynx \
52 --disable-static
53 }
54
55 multilib_src_compile() {
56 - emake || die "emake failed"
57 + emake
58
59 if multilib_is_native_abi && use doc; then
60 doxygen doxygen/doxygen.conf || die "doxygen failed"
61 @@ -48,7 +48,7 @@ multilib_src_compile() {
62 }
63
64 multilib_src_install() {
65 - emake DESTDIR="${D}" install || die "emake install failed"
66 + emake DESTDIR="${D}" install
67
68 if multilib_is_native_abi && use doc; then
69 docinto apidocs