public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Virgil Dupras" <vdupras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pesign/
Date: Sat, 29 Sep 2018 01:02:57 +0000 (UTC)	[thread overview]
Message-ID: <1538182908.ab3ba62b708cd6829fbe939eef827b56ad9411bc.vdupras@gentoo> (raw)

commit:     ab3ba62b708cd6829fbe939eef827b56ad9411bc
Author:     David Michael <david.michael <AT> coreos <DOT> com>
AuthorDate: Thu Jun 15 00:41:13 2017 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> 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 <vdupras <AT> 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
 }


             reply	other threads:[~2018-09-29  1:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-29  1:02 Virgil Dupras [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-04 22:23 [gentoo-commits] repo/gentoo:master commit in: app-crypt/pesign/ Sam James
2021-08-28 13:47 Mike Gilbert
2019-12-30 18:18 Michał Górny
2019-07-27  5:21 Michał Górny
2019-07-27  0:22 Stefan Strogin
2018-01-18 20:16 Amy Liffey
2017-10-28  7:06 Amy Liffey
2017-02-09 23:46 Göktürk Yüksek
2016-08-19 10:07 Pacho Ramos
2016-06-03 14:19 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1538182908.ab3ba62b708cd6829fbe939eef827b56ad9411bc.vdupras@gentoo \
    --to=vdupras@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox