From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE6A6138350 for ; Thu, 23 Jan 2020 15:33:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E44B3E0A49; Thu, 23 Jan 2020 15:33:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A584AE0A49 for ; Thu, 23 Jan 2020 15:33:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A1AA34E3EF for ; Thu, 23 Jan 2020 15:33:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 759B43E for ; Thu, 23 Jan 2020 15:33:06 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1579793579.8ffe2c4a58aae021bc2b006cfaaf897eac6d8369.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mandoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/mandoc/mandoc-1.14.5.ebuild X-VCS-Directories: app-text/mandoc/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 8ffe2c4a58aae021bc2b006cfaaf897eac6d8369 X-VCS-Branch: master Date: Thu, 23 Jan 2020 15:33:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ebebc352-06c0-49e8-a0e6-e60e62736057 X-Archives-Hash: 707fb9bee1e9741a495efa4f0a2b1da0 commit: 8ffe2c4a58aae021bc2b006cfaaf897eac6d8369 Author: Lars Wendler gentoo org> AuthorDate: Thu Jan 23 15:32:19 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Jan 23 15:32:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffe2c4a 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 gentoo.org> app-text/mandoc/mandoc-1.14.5.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app-text/mandoc/mandoc-1.14.5.ebuild b/app-text/mandoc/mandoc-1.14.5.ebuild index 029a69eeadc..5fdb433abdb 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"