commit:     e795279f8667a28e00dc505dddbbd08ccf774daf
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 16 08:26:23 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Feb 16 08:26:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e795279f

net-libs/libasyncns: Adap to new EAPIs

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 net-libs/libasyncns/libasyncns-0.8-r4.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild 
b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild
index 73535f3dd2b..4d10bdbdf78 100644
--- a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild
+++ b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools-multilib eutils flag-o-matic libtool multilib 
multilib-minimal
+EAPI=7
+inherit autotools flag-o-matic multilib-minimal
 
 DESCRIPTION="C library for executing name service queries asynchronously"
 HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/";
@@ -19,10 +19,11 @@ RDEPEND=""
 DEPEND="doc? ( app-doc/doxygen )"
 
 src_prepare() {
+       default
        # fix libdir in pkgconfig file
-       epatch "${FILESDIR}/${P}-libdir.patch"
+       eapply "${FILESDIR}/${P}-libdir.patch"
        # fix configure check for res_query
-       epatch "${FILESDIR}/${P}-configure-res_query.patch"
+       eapply "${FILESDIR}/${P}-configure-res_query.patch"
        eautoreconf
 }
 
@@ -34,13 +35,12 @@ multilib_src_configure() {
        econf \
                --docdir="${EPREFIX}"/usr/share/doc/${PF} \
                --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
-               --disable-dependency-tracking \
                --disable-lynx \
                --disable-static
 }
 
 multilib_src_compile() {
-       emake || die "emake failed"
+       emake
 
        if multilib_is_native_abi && use doc; then
                doxygen doxygen/doxygen.conf || die "doxygen failed"
@@ -48,7 +48,7 @@ multilib_src_compile() {
 }
 
 multilib_src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
+       emake DESTDIR="${D}" install
 
        if multilib_is_native_abi && use doc; then
                docinto apidocs

Reply via email to