[gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-Eksblowfish/

2020-07-01 Thread Kent Fredric
commit: a0d233bae81d75aedfb873be9914bbc6d049adee
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Jul  1 16:42:33 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Jul  1 16:43:05 2020 +
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
 }



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-Eksblowfish/

2020-07-01 Thread Kent Fredric
commit: d8e81594ef661364abea9fe5362e7a74d830f7f4
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Jul  1 10:43:56 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Jul  1 10:47:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e81594

dev-perl/Crypt-Eksblowfish: -r bump for EAPI7 and fixes

- EAPI7
- Parallel Tests
  - Ensure CFLAGS turn up in build process

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 .../Crypt-Eksblowfish-0.9.0-r3.ebuild  | 36 ++
 1 file changed, 36 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
new file mode 100644
index 000..d66aea6f6c2
--- /dev/null
+++ b/dev-perl/Crypt-Eksblowfish/Crypt-Eksblowfish-0.9.0-r3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=ZEFRAM
+DIST_VERSION=0.009
+inherit perl-module
+
+DESCRIPTION="the Eksblowfish block cipher"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+RDEPEND="
+   virtual/perl-Carp
+   >=dev-perl/Class-Mix-0.1.0
+   virtual/perl-Exporter
+   >=virtual/perl-MIME-Base64-2.210.0
+   virtual/perl-XSLoader
+   virtual/perl-parent
+"
+DEPEND="
+   dev-perl/Module-Build
+"
+BDEPEND="${RDEPEND}
+   dev-perl/Module-Build
+   >=virtual/perl-ExtUtils-CBuilder-0.15
+   test? (
+   virtual/perl-Test-Simple
+   )
+"
+src_compile() {
+   ./Build --config optimize="${CFLAGS}" build || die
+}