1 |
commit: 0d92d88158671ef12631f953e08db164dbb0bd27 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 31 23:09:10 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 31 23:13:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d92d881 |
7 |
|
8 |
net-libs/libasyncns: style changes, missing || die |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-libs/libasyncns/libasyncns-0.8-r4.ebuild | 19 ++++++++++--------- |
13 |
1 file changed, 10 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild |
16 |
index a09e4fae9e1..a55c87358a0 100644 |
17 |
--- a/net-libs/libasyncns/libasyncns-0.8-r4.ebuild |
18 |
+++ b/net-libs/libasyncns/libasyncns-0.8-r4.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
@@ -10,7 +10,6 @@ HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/" |
26 |
SRC_URI="http://0pointer.de/lennart/projects/libasyncns/${P}.tar.gz" |
27 |
|
28 |
SLOT="0" |
29 |
- |
30 |
LICENSE="LGPL-2.1" |
31 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
32 |
|
33 |
@@ -18,12 +17,15 @@ IUSE="doc debug" |
34 |
|
35 |
BDEPEND="doc? ( app-doc/doxygen )" |
36 |
|
37 |
-src_prepare() { |
38 |
- default |
39 |
+PATCHES=( |
40 |
# fix libdir in pkgconfig file |
41 |
- eapply "${FILESDIR}/${P}-libdir.patch" |
42 |
+ "${FILESDIR}"/${P}-libdir.patch |
43 |
# fix configure check for res_query |
44 |
- eapply "${FILESDIR}/${P}-configure-res_query.patch" |
45 |
+ "${FILESDIR}"/${P}-configure-res_query.patch |
46 |
+) |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ default |
50 |
eautoreconf |
51 |
} |
52 |
|
53 |
@@ -31,8 +33,7 @@ multilib_src_configure() { |
54 |
# libasyncns uses assert() |
55 |
use debug || append-cppflags -DNDEBUG |
56 |
|
57 |
- ECONF_SOURCE=${S} \ |
58 |
- econf \ |
59 |
+ ECONF_SOURCE="${S}" econf \ |
60 |
--disable-lynx \ |
61 |
--disable-static |
62 |
} |
63 |
@@ -55,5 +56,5 @@ multilib_src_install() { |
64 |
} |
65 |
|
66 |
multilib_src_install_all() { |
67 |
- find "${D}" -name '*.la' -delete |
68 |
+ find "${ED}" -name '*.la' -delete || die |
69 |
} |