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 7BB7F1382C5 for ; Thu, 22 Mar 2018 21:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76B30E08C3; Thu, 22 Mar 2018 21:07:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 522F5E08C3 for ; Thu, 22 Mar 2018 21:07:12 +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 9CCB3335C06 for ; Thu, 22 Mar 2018 21:07:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1488261 for ; Thu, 22 Mar 2018 21:07:08 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1521752765.00de856ef8bed699cf27efa738c705d929e2786e.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/rhash/rhash-1.3.6-r1.ebuild X-VCS-Directories: app-crypt/rhash/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 00de856ef8bed699cf27efa738c705d929e2786e X-VCS-Branch: master Date: Thu, 22 Mar 2018 21:07:08 +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: 170d2f49-424d-4cf5-a8b1-6460a873a689 X-Archives-Hash: 9c0f229132f7af42eddc078241f218be commit: 00de856ef8bed699cf27efa738c705d929e2786e Author: Marty E. Plummer startmail com> AuthorDate: Thu Mar 22 07:55:12 2018 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Thu Mar 22 21:06:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00de856e app-crypt/rhash: pass --target=${CHOST} to configure Without this change, app-crypt/rhash when built with a mingw-w64 crossdev toolchain ends up with the various rhash binaries being PE32 binaries without an '*.exe' extension and librhash having a '*.so' extension, also a PE32 library, and no import library ('*.dll.a'). Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7548 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index affa8241147..69f97e6e47a 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -34,6 +34,7 @@ src_prepare() { multilib_src_configure() { set -- \ ./configure \ + --target="${CHOST}" \ --cc="$(tc-getCC)" \ --ar="$(tc-getAR)" \ --extra-cflags="${CFLAGS}" \ @@ -59,8 +60,9 @@ multilib_src_configure() { multilib_src_install() { # -j1 needed due to race condition. emake DESTDIR="${D}" -j1 \ - install{,-lib-so-link,-pkg-config} \ - $(use nls && echo install-gmo) + install{,-pkg-config} \ + $(use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) emake DESTDIR="${D}" -j1 \ -C lib${PN} install-headers