diff options
author | 2020-01-23 16:32:19 +0100 | |
---|---|---|
committer | 2020-01-23 16:32:59 +0100 | |
commit | 8ffe2c4a58aae021bc2b006cfaaf897eac6d8369 (patch) | |
tree | feae51ecd88e26eded01230bf3b85e9fb064fcdc /app-text | |
parent | www-apps/mediawiki: removed old 1.33* (diff) | |
download | gentoo-8ffe2c4a58aae021bc2b006cfaaf897eac6d8369.tar.gz gentoo-8ffe2c4a58aae021bc2b006cfaaf897eac6d8369.tar.bz2 gentoo-8ffe2c4a58aae021bc2b006cfaaf897eac6d8369.zip |
app-text/mandoc: Fixed build with make-4.3
Closes: https://bugs.gentoo.org/706024
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/mandoc/mandoc-1.14.5.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app-text/mandoc/mandoc-1.14.5.ebuild b/app-text/mandoc/mandoc-1.14.5.ebuild index 029a69eeadc9..5fdb433abdbd 100644 --- a/app-text/mandoc/mandoc-1.14.5.ebuild +++ b/app-text/mandoc/mandoc-1.14.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -28,6 +28,13 @@ src_prepare() { -e '/^db-install:/s:$: base-install:' \ Makefile || die + # make-4.3 doesn't like the CC line (bug #706024) + # and "echo -n" is not portable + sed \ + -e "s@^\(CC=\).*\$@\1\"$(tc-getCC)\"@" \ + -e 's@echo -n@printf@g' \ + -i configure || die + cat <<-EOF > "configure.local" PREFIX="${EPREFIX}/usr" BINDIR="${EPREFIX}/usr/bin" |