Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mandoc/
Date: Thu, 23 Jan 2020 15:33:10
Message-Id: 1579793579.8ffe2c4a58aae021bc2b006cfaaf897eac6d8369.polynomial-c@gentoo
1 commit: 8ffe2c4a58aae021bc2b006cfaaf897eac6d8369
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 23 15:32:19 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 23 15:32:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffe2c4a
7
8 app-text/mandoc: Fixed build with make-4.3
9
10 Closes: https://bugs.gentoo.org/706024
11 Package-Manager: Portage-2.3.85, Repoman-2.3.20
12 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
13
14 app-text/mandoc/mandoc-1.14.5.ebuild | 9 ++++++++-
15 1 file changed, 8 insertions(+), 1 deletion(-)
16
17 diff --git a/app-text/mandoc/mandoc-1.14.5.ebuild b/app-text/mandoc/mandoc-1.14.5.ebuild
18 index 029a69eeadc..5fdb433abdb 100644
19 --- a/app-text/mandoc/mandoc-1.14.5.ebuild
20 +++ b/app-text/mandoc/mandoc-1.14.5.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI="6"
27 @@ -28,6 +28,13 @@ src_prepare() {
28 -e '/^db-install:/s:$: base-install:' \
29 Makefile || die
30
31 + # make-4.3 doesn't like the CC line (bug #706024)
32 + # and "echo -n" is not portable
33 + sed \
34 + -e "s@^\(CC=\).*\$@\1\"$(tc-getCC)\"@" \
35 + -e 's@echo -n@printf@g' \
36 + -i configure || die
37 +
38 cat <<-EOF > "configure.local"
39 PREFIX="${EPREFIX}/usr"
40 BINDIR="${EPREFIX}/usr/bin"