commit: 0d92d88158671ef12631f953e08db164dbb0bd27 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Mar 31 23:09:10 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 31 23:13:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d92d881
net-libs/libasyncns: style changes, missing || die Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/libasyncns/libasyncns-0.8-r4.ebuild | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild index a09e4fae9e1..a55c87358a0 100644 --- a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild +++ b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,6 @@ HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/" SRC_URI="http://0pointer.de/lennart/projects/libasyncns/${P}.tar.gz" SLOT="0" - LICENSE="LGPL-2.1" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" @@ -18,12 +17,15 @@ IUSE="doc debug" BDEPEND="doc? ( app-doc/doxygen )" -src_prepare() { - default +PATCHES=( # fix libdir in pkgconfig file - eapply "${FILESDIR}/${P}-libdir.patch" + "${FILESDIR}"/${P}-libdir.patch # fix configure check for res_query - eapply "${FILESDIR}/${P}-configure-res_query.patch" + "${FILESDIR}"/${P}-configure-res_query.patch +) + +src_prepare() { + default eautoreconf } @@ -31,8 +33,7 @@ multilib_src_configure() { # libasyncns uses assert() use debug || append-cppflags -DNDEBUG - ECONF_SOURCE=${S} \ - econf \ + ECONF_SOURCE="${S}" econf \ --disable-lynx \ --disable-static } @@ -55,5 +56,5 @@ multilib_src_install() { } multilib_src_install_all() { - find "${D}" -name '*.la' -delete + find "${ED}" -name '*.la' -delete || die }