public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/efitools/
Date: Fri,  8 Jun 2018 13:06:49 +0000 (UTC)	[thread overview]
Message-ID: <1528463203.29f3f3ff28286ebb0c71a885769800a1155ea241.bman@gentoo> (raw)

commit:     29f3f3ff28286ebb0c71a885769800a1155ea241
Author:     Edward Hyunkoo Jee <edjee <AT> google <DOT> com>
AuthorDate: Fri Jun  8 06:28:05 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Jun  8 13:06:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29f3f3ff

app-crypt/efitools: fix dependency and use toolchain-funcs

This change fixes the issues addressed during the code review at
https://github.com/gentoo/gentoo/pull/8648 .

Fixes: ed1d845779b0 ("app-crypt/efitools: support "static" USE flag")
Closes: https://github.com/gentoo/gentoo/pull/8755

 app-crypt/efitools/efitools-1.8.1.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/app-crypt/efitools/efitools-1.8.1.ebuild b/app-crypt/efitools/efitools-1.8.1.ebuild
index 0a1ca91df52..6ede95860eb 100644
--- a/app-crypt/efitools/efitools-1.8.1.ebuild
+++ b/app-crypt/efitools/efitools-1.8.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Tools for manipulating UEFI secure boot platforms"
 HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
@@ -23,10 +23,7 @@ RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
 DEPEND="${RDEPEND}
 	app-crypt/sbsigntool
 	dev-perl/File-Slurp
-	static? (
-		${LIB_DEPEND}
-		dev-util/pkgconfig
-	)
+	static? ( ${LIB_DEPEND} )
 	sys-apps/help2man
 	sys-boot/gnu-efi
 	virtual/pkgconfig"
@@ -39,7 +36,8 @@ PATCHES=(
 src_prepare() {
 	if use static; then
 		append-ldflags -static
-		sed -i 's/-lcrypto/`pkg-config --static --libs libcrypto`/g' Makefile || die
+		sed -i "s/-lcrypto\b/$($(tc-getPKG_CONFIG) --static --libs libcrypto)/g" \
+			Makefile || die
 	fi
 
 	# Respect users CFLAGS


             reply	other threads:[~2018-06-08 13:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08 13:06 Aaron Bauman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-22  1:53 [gentoo-commits] repo/gentoo:master commit in: app-crypt/efitools/ Sam James
2023-01-04  4:32 Sam James
2022-12-25 21:24 Sam James
2022-12-25 21:24 Sam James
2022-07-24  8:37 David Seifert
2021-06-28  1:35 Sam James
2021-06-27 18:25 Matthias Maier
2021-05-02 17:22 Mikle Kolyada
2020-09-26 14:33 Aaron Bauman
2019-08-05 11:44 Mikle Kolyada
2018-07-23 16:20 Matthias Maier
2018-06-08  7:11 Mikle Kolyada
2018-06-08  1:28 Aaron Bauman
2018-06-08  1:28 Aaron Bauman
2018-04-23 15:16 Aaron Bauman
2018-04-20 14:29 Michał Górny
2017-02-13 22:52 Robin H. Johnson
2016-06-26 17:03 Michał Górny
2016-06-03  9:05 Anthony G. Basile
2016-05-08 20:10 Paweł Hajdan

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=1528463203.29f3f3ff28286ebb0c71a885769800a1155ea241.bman@gentoo \
    --to=bman@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