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 93C9E1382C5 for ; Wed, 1 Jul 2020 16:43:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C318AE08A6; Wed, 1 Jul 2020 16:43:29 +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 A9585E08A6 for ; Wed, 1 Jul 2020 16:43:29 +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 B06C234F2AB for ; Wed, 1 Jul 2020 16:43:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39E7B2B8 for ; Wed, 1 Jul 2020 16:43:26 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1593621785.a0d233bae81d75aedfb873be9914bbc6d049adee.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-Eksblowfish/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Crypt-Eksblowfish/Crypt-Eksblowfish-0.9.0-r3.ebuild X-VCS-Directories: dev-perl/Crypt-Eksblowfish/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: a0d233bae81d75aedfb873be9914bbc6d049adee X-VCS-Branch: master Date: Wed, 1 Jul 2020 16:43:26 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ee4bdd5d-db4e-4988-a34e-8104a3338b12 X-Archives-Hash: 2bcdfeffaab999ed875e8c03dbbf4d85 commit: a0d233bae81d75aedfb873be9914bbc6d049adee Author: Kent Fredric gentoo org> AuthorDate: Wed Jul 1 16:42:33 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Wed Jul 1 16:43:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d233ba dev-perl/Crypt-Eksblowfish: Avoid breaking w/ LD=ld bug #730390 This is probably the most sensible way I can handle this presently, as the concept of CCLD is not well established in the gentoo toolchain, and all the perl build tools expect their LD to be a CCLD, and become broken when its an _ACTUAL_ LD. A workaround for experts is left in its stead, as long as you set CCLD, then it will get passed to perl using the LD environment variable. Its a strange reality, but that's how it is. Closes: https://bugs.gentoo.org/730390 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> dev-perl/Crypt-Eksblowfish/Crypt-Eksblowfish-0.9.0-r3.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-perl/Crypt-Eksblowfish/Crypt-Eksblowfish-0.9.0-r3.ebuild b/dev-perl/Crypt-Eksblowfish/Crypt-Eksblowfish-0.9.0-r3.ebuild index d66aea6f6c2..a586ce5a396 100644 --- a/dev-perl/Crypt-Eksblowfish/Crypt-Eksblowfish-0.9.0-r3.ebuild +++ b/dev-perl/Crypt-Eksblowfish/Crypt-Eksblowfish-0.9.0-r3.ebuild @@ -31,6 +31,18 @@ BDEPEND="${RDEPEND} virtual/perl-Test-Simple ) " +src_configure() { + # Overriding this breaks build, + # as people always set this to a real LD + # but a CCLD is expected + # If you know what you're doing, export CCLD + # Bug: https://bugs.gentoo.org/730390 + unset LD + if [[ -n "${CCLD}" ]]; then + export LD="${CCLD}" + fi + perl-module_src_configure +} src_compile() { ./Build --config optimize="${CFLAGS}" build || die }