1 |
commit: a81f1ccd703b7a39f74263cbb5b3d2fe454a4bc7 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 9 07:59:21 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 9 07:59:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81f1ccd |
7 |
|
8 |
net-libs/http-parser: drop multilib |
9 |
|
10 |
No multilib reverse dependencies. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
...er-2.9.4-r1.ebuild => http-parser-2.9.4-r2.ebuild} | 19 ++++++++++--------- |
16 |
1 file changed, 10 insertions(+), 9 deletions(-) |
17 |
|
18 |
diff --git a/net-libs/http-parser/http-parser-2.9.4-r1.ebuild b/net-libs/http-parser/http-parser-2.9.4-r2.ebuild |
19 |
similarity index 80% |
20 |
rename from net-libs/http-parser/http-parser-2.9.4-r1.ebuild |
21 |
rename to net-libs/http-parser/http-parser-2.9.4-r2.ebuild |
22 |
index 8ceeb33fae6e..34954b2e531a 100644 |
23 |
--- a/net-libs/http-parser/http-parser-2.9.4-r1.ebuild |
24 |
+++ b/net-libs/http-parser/http-parser-2.9.4-r2.ebuild |
25 |
@@ -1,8 +1,9 @@ |
26 |
-# Copyright 1999-2021 Gentoo Authors |
27 |
+# Copyright 1999-2022 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=7 |
31 |
-inherit toolchain-funcs multilib-minimal |
32 |
+EAPI=8 |
33 |
+ |
34 |
+inherit toolchain-funcs |
35 |
|
36 |
DESCRIPTION="HTTP request/response parser for C" |
37 |
HOMEPAGE="https://github.com/nodejs/http-parser" |
38 |
@@ -18,20 +19,20 @@ PATCHES=( |
39 |
"${FILESDIR}"/${P}-non-x86-test.patch |
40 |
) |
41 |
|
42 |
-src_prepare() { |
43 |
- default |
44 |
+src_configure() { |
45 |
tc-export CC AR |
46 |
- multilib_copy_sources |
47 |
} |
48 |
|
49 |
-multilib_src_compile() { |
50 |
+src_compile() { |
51 |
emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" CFLAGS_FAST="${CFLAGS}" library |
52 |
} |
53 |
|
54 |
-multilib_src_test() { |
55 |
+src_test() { |
56 |
emake CFLAGS_DEBUG="${CFLAGS}" CFLAGS_FAST="${CFLAGS}" test |
57 |
} |
58 |
|
59 |
-multilib_src_install() { |
60 |
+src_install() { |
61 |
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install |
62 |
+ |
63 |
+ einstalldocs |
64 |
} |