1 |
commit: ddf596677c68bde73e8c57c350e93ae22c6c5ee7 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 01:00:05 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 02:34:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddf59667 |
7 |
|
8 |
net-misc/hashcash: EAPI7->8, respect AR |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
net-misc/hashcash/hashcash-1.22-r2.ebuild | 10 ++++++++-- |
13 |
1 file changed, 8 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/hashcash/hashcash-1.22-r2.ebuild b/net-misc/hashcash/hashcash-1.22-r2.ebuild |
16 |
index 867929119c5a..68a606092d65 100644 |
17 |
--- a/net-misc/hashcash/hashcash-1.22-r2.ebuild |
18 |
+++ b/net-misc/hashcash/hashcash-1.22-r2.ebuild |
19 |
@@ -1,7 +1,7 @@ |
20 |
# Copyright 1999-2022 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=7 |
24 |
+EAPI=8 |
25 |
|
26 |
inherit toolchain-funcs |
27 |
|
28 |
@@ -15,18 +15,24 @@ KEYWORDS="~amd64 ~ppc ~x86" |
29 |
|
30 |
src_prepare() { |
31 |
default |
32 |
+ |
33 |
sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die |
34 |
} |
35 |
|
36 |
src_compile() { |
37 |
- emake CC="$(tc-getCC)" generic |
38 |
+ tc-export AR CC |
39 |
+ |
40 |
+ emake generic |
41 |
} |
42 |
|
43 |
src_install() { |
44 |
dobin hashcash |
45 |
doman hashcash.1 |
46 |
+ |
47 |
dodoc CHANGELOG |
48 |
+ |
49 |
docinto examples |
50 |
dodoc contrib/hashcash-{request,sendmail{,.txt}} contrib/hashfork.{c,py,txt} |
51 |
+ |
52 |
docompress -x /usr/share/doc/${PF}/examples |
53 |
} |