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 0BF6C138334 for ; Sat, 6 Oct 2018 00:32:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54CD0E08FA; Sat, 6 Oct 2018 00:32:37 +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 2ABB7E08FA for ; Sat, 6 Oct 2018 00:32:35 +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 BDE39335CCD for ; Sat, 6 Oct 2018 00:32:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91DE6434 for ; Sat, 6 Oct 2018 00:32:31 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1538785939.ec4dafe51ce23971d397b97091d69fe09ff86362.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgcrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild X-VCS-Directories: dev-libs/libgcrypt/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: ec4dafe51ce23971d397b97091d69fe09ff86362 X-VCS-Branch: master Date: Sat, 6 Oct 2018 00:32:31 +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: 095e71dd-4722-481a-a71f-0bea3d3ee774 X-Archives-Hash: 7ad310ccd6e214ecc629c0f0ec54c54d commit: ec4dafe51ce23971d397b97091d69fe09ff86362 Author: Alon Bar-Lev gentoo org> AuthorDate: Fri Oct 5 23:30:01 2018 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Oct 6 00:32:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4dafe5 dev-libs/libgcrypt: support cross-compile Signed-off-by: Alon Bar-Lev gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild index 4f3b5d97196..02488a6c3c1 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.8.3-r1.ebuild @@ -56,7 +56,8 @@ multilib_src_configure() { GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" \ + $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") } multilib_src_compile() {