1 |
commit: 7f6529a2533ed410816d79c4e514de5eddc2f449 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 08:54:24 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 08:59:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6529a2 |
7 |
|
8 |
app-emulation/conmon: use CC variable and system go-md2man |
9 |
|
10 |
Closes: https://bugs.gentoo.org/762376 |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
app-emulation/conmon/conmon-2.0.22.ebuild | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/conmon/conmon-2.0.22.ebuild b/app-emulation/conmon/conmon-2.0.22.ebuild |
18 |
index e8b2c72ef57..22d66f80a27 100644 |
19 |
--- a/app-emulation/conmon/conmon-2.0.22.ebuild |
20 |
+++ b/app-emulation/conmon/conmon-2.0.22.ebuild |
21 |
@@ -3,6 +3,8 @@ |
22 |
|
23 |
EAPI=7 |
24 |
|
25 |
+inherit toolchain-funcs |
26 |
+ |
27 |
EGIT_COMMIT="9c34a8663b85e479e0c083801e89a2b2835228ed" |
28 |
DESCRIPTION="An OCI container runtime monitor" |
29 |
HOMEPAGE="https://github.com/containers/conmon" |
30 |
@@ -29,9 +31,12 @@ src_prepare() { |
31 |
-e 's| $(PKG_CONFIG) --exists libsystemd | false |' \ |
32 |
-i Makefile || die |
33 |
fi |
34 |
+ sed -e 's|make -C tools|$(MAKE) -C tools|' -i Makefile || die |
35 |
+ sed -e 's|^GOMD2MAN = .*|GOMD2MAN = go-md2man|' -i docs/Makefile || die |
36 |
} |
37 |
|
38 |
src_compile() { |
39 |
+ tc-export CC |
40 |
emake GIT_COMMIT="${EGIT_COMMIT}" \ |
41 |
all |
42 |
} |