From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1266290-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CDDAA13835A
	for <garchives@archives.gentoo.org>; Wed, 31 Mar 2021 23:13:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1E296E0ACB;
	Wed, 31 Mar 2021 23:13:39 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 08352E0ACB
	for <gentoo-commits@lists.gentoo.org>; Wed, 31 Mar 2021 23:13:39 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 400273408A2
	for <gentoo-commits@lists.gentoo.org>; Wed, 31 Mar 2021 23:13:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 233A563C
	for <gentoo-commits@lists.gentoo.org>; Wed, 31 Mar 2021 23:13:35 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1617232401.0d92d88158671ef12631f953e08db164dbb0bd27.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libasyncns/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-libs/libasyncns/libasyncns-0.8-r4.ebuild
X-VCS-Directories: net-libs/libasyncns/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 0d92d88158671ef12631f953e08db164dbb0bd27
X-VCS-Branch: master
Date: Wed, 31 Mar 2021 23:13:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d74c88be-498d-48d5-9945-b1cdcf8ab561
X-Archives-Hash: cced18bb5fc781da27e9bc7a68714154

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
 }