public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libasyncns/
Date: Wed, 31 Mar 2021 23:13:35 +0000 (UTC)	[thread overview]
Message-ID: <1617232401.0d92d88158671ef12631f953e08db164dbb0bd27.sam@gentoo> (raw)

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
 }


             reply	other threads:[~2021-03-31 23:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31 23:13 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-22  5:45 [gentoo-commits] repo/gentoo:master commit in: net-libs/libasyncns/ Ionen Wolkens
2021-08-10 18:06 Marek Szuba
2019-05-14 17:53 Aaron Bauman
2019-03-03 11:49 Pacho Ramos
2019-03-02 20:54 Matt Turner
2019-03-02 15:41 Mikle Kolyada
2019-02-28 15:13 Mikle Kolyada
2019-02-23 20:14 Sergei Trofimovich
2019-02-17 22:35 Thomas Deutschmann
2019-02-17 17:14 Sergei Trofimovich
2019-02-17 17:08 Sergei Trofimovich
2019-02-17 16:57 Sergei Trofimovich
2019-02-17 10:16 Sergei Trofimovich
2019-02-16 16:47 Mikle Kolyada
2019-02-16  8:26 Pacho Ramos
2017-06-20 12:12 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617232401.0d92d88158671ef12631f953e08db164dbb0bd27.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox