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 AE17C138334 for ; Sat, 29 Sep 2018 01:03:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44D54E091C; Sat, 29 Sep 2018 01:03:08 +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 06427E091C for ; Sat, 29 Sep 2018 01:03:06 +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 4E94F335CE4 for ; Sat, 29 Sep 2018 01:02:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 319963BE for ; Sat, 29 Sep 2018 01:02:57 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1538182908.ab3ba62b708cd6829fbe939eef827b56ad9411bc.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pesign/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/pesign/pesign-0.112.ebuild X-VCS-Directories: app-crypt/pesign/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: ab3ba62b708cd6829fbe939eef827b56ad9411bc X-VCS-Branch: master Date: Sat, 29 Sep 2018 01:02:57 +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-Archives-Salt: de5184b8-d72d-472d-9886-fa9fff16bee6 X-Archives-Hash: 0b21fddd8038dae22a84153f742353a1 commit: ab3ba62b708cd6829fbe939eef827b56ad9411bc Author: David Michael coreos com> AuthorDate: Thu Jun 15 00:41:13 2017 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Sat Sep 29 01:01:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3ba62b app-crypt/pesign: Supply cross-compiling programs (with minor style changes from vdupras) Closes: https://bugs.gentoo.org/621804 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Signed-off-by: Virgil Dupras gentoo.org> app-crypt/pesign/pesign-0.112.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app-crypt/pesign/pesign-0.112.ebuild b/app-crypt/pesign/pesign-0.112.ebuild index 314dcb7d8cd..3937fb8fdcd 100644 --- a/app-crypt/pesign/pesign-0.112.ebuild +++ b/app-crypt/pesign/pesign-0.112.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -35,7 +35,13 @@ PATCHES=( ) src_compile() { - emake CC="$(tc-getCC)" + emake AR="$(tc-is-gcc && echo "$(tc-getCC)-ar" || tc-getAR)" \ + AS="$(tc-getAS)" \ + CC="$(tc-getCC)" \ + LD="$(tc-getLD)" \ + OBJCOPY="$(tc-getOBJCOPY)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + RANLIB="$(tc-getRANLIB)" } src_install() { @@ -44,5 +50,5 @@ src_install() { # remove some files that don't make sense for Gentoo installs rm -rf "${ED%/}/etc/" "${ED%/}/var/" \ - "${ED%/}/usr/share/doc/${PF}/COPYING" || die + "${ED%/}/usr/share/doc/${PF}/COPYING" || die }