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 602FC138359 for ; Sat, 12 Sep 2020 16:57:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A4A0E0824; Sat, 12 Sep 2020 16:57:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 682D5E0824 for ; Sat, 12 Sep 2020 16:57:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7A06B340CF4 for ; Sat, 12 Sep 2020 16:57:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C860EC for ; Sat, 12 Sep 2020 16:57:54 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1599929854.adcae1c8aa0f3af454895cff8c8eda59f48dd5da.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/heirloom-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild X-VCS-Directories: sys-apps/heirloom-tools/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: adcae1c8aa0f3af454895cff8c8eda59f48dd5da X-VCS-Branch: master Date: Sat, 12 Sep 2020 16:57:54 +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: caa9de8d-9b55-41ca-9d1c-aeb70bc0f535 X-Archives-Hash: 9e57dce71d33f93a15e238510edb5c91 commit: adcae1c8aa0f3af454895cff8c8eda59f48dd5da Author: Stephan Hartmann gentoo org> AuthorDate: Sat Sep 12 15:37:28 2020 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Sat Sep 12 16:57:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adcae1c8 sys-apps/heirloom-tools: respect AR/RANLIB Closes: https://bugs.gentoo.org/725712 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Stephan Hartmann gentoo.org> sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild b/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild index 2c6c2ef1876..1374a47e858 100644 --- a/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild +++ b/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild @@ -34,10 +34,18 @@ PATCHES=( # slightly broken RESTRICT="test" +src_prepare() { + default + + sed -i "s/\bar\b/$(tc-getAR)/g" libwchar/Makefile.mk || die +} + src_compile() { append-cppflags -D_GNU_SOURCE emake -j1 \ CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ CFLAGS="${CFLAGS}" \ CFLAGS2="${CFLAGS}" \ CFLAGSS="${CFLAGS}" \