mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user