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 132E4138334 for ; Thu, 23 Aug 2018 07:39:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0A9CE0ABE; Thu, 23 Aug 2018 07:39:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 AB034E0ABE for ; Thu, 23 Aug 2018 07:39:39 +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 308C1335C96 for ; Thu, 23 Aug 2018 07:39:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F303B2BA for ; Thu, 23 Aug 2018 07:39:35 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1535009811.9ec11c72ad79142c7b70862ffc87f8e65c9c40e0.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/gnupg/gnupg-2.2.9.ebuild X-VCS-Directories: app-crypt/gnupg/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 9ec11c72ad79142c7b70862ffc87f8e65c9c40e0 X-VCS-Branch: master Date: Thu, 23 Aug 2018 07:39:35 +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: 8387f4c2-3daf-42b9-852b-66947908e790 X-Archives-Hash: 246435d75262760591920c279258852e commit: 9ec11c72ad79142c7b70862ffc87f8e65c9c40e0 Author: Guilherme Amadio gentoo org> AuthorDate: Thu Aug 23 07:36:42 2018 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Thu Aug 23 07:36:51 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec11c72 app-crypt/gnupg: fix bug #649598, USE=usb on prefix Closes: https://bugs.gentoo.org/649598 Suggested-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.47, Repoman-2.3.10 app-crypt/gnupg/gnupg-2.2.9.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-crypt/gnupg/gnupg-2.2.9.ebuild b/app-crypt/gnupg/gnupg-2.2.9.ebuild index d53de1b7125..2345009acbc 100644 --- a/app-crypt/gnupg/gnupg-2.2.9.ebuild +++ b/app-crypt/gnupg/gnupg-2.2.9.ebuild @@ -3,7 +3,7 @@ EAPI="6" -inherit systemd toolchain-funcs +inherit flag-o-matic systemd toolchain-funcs MY_P="${P/_/-}" @@ -65,6 +65,10 @@ src_configure() { --enable-scdaemon $(use_enable usb ccid-driver) ) + if use prefix && use usb ; then + # bug #649598 + append-cppflags -I"${EPREFIX}/usr/include/libusb-1.0" + fi else myconf+=( --disable-scdaemon ) fi