diff options
author | Matt Turner <mattst88@gentoo.org> | 2024-03-14 12:43:52 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2024-03-15 10:56:45 -0400 |
commit | 00415bf5b333dfb90af42faefe89b3e7d5c50329 (patch) | |
tree | 88af3469e25d3213bd77cc52a81de51db9387306 /dev-perl/PDL | |
parent | dev-perl/PDF-Builder: Drop old versions (diff) | |
download | gentoo-00415bf5b333dfb90af42faefe89b3e7d5c50329.tar.gz gentoo-00415bf5b333dfb90af42faefe89b3e7d5c50329.tar.bz2 gentoo-00415bf5b333dfb90af42faefe89b3e7d5c50329.zip |
dev-perl/PDL: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-perl/PDL')
-rw-r--r-- | dev-perl/PDL/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/PDL/PDL-2.17.0-r2.ebuild | 126 | ||||
-rw-r--r-- | dev-perl/PDL/PDL-2.54.0.ebuild | 136 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch | 142 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-fortran.patch | 22 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch | 20 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch | 44 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.54.0-fortran.patch | 24 |
8 files changed, 0 insertions, 516 deletions
diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest index 5b8884f6bd9c..720e78ada332 100644 --- a/dev-perl/PDL/Manifest +++ b/dev-perl/PDL/Manifest @@ -1,3 +1 @@ -DIST PDL-2.017.tar.gz 2889414 BLAKE2B e49e0ee7e7fc3d95dd27098e8008930673cc4067331f2e4d9eecf8584fe717b15d5b4c7198548ea79a4543d94c1078f5e6eedd731b94d7ce062ab2841c32fc8d SHA512 b1c60b45427153928834619a59ef2213a0845564ae997e22fe202dfee281647edceb68bf3bfa6602ee69a7fd0cc69b7b61ccb74407f490d9fa40230f74599411 -DIST PDL-2.054.tar.gz 2848187 BLAKE2B e96598f88b4b3cabda88785881e9651b2984c2850fd1b161f869bb462386509c4fd659324cd5bdd139152a9d3db4857fe6443ac090c8d4740482972bdab893f5 SHA512 56b7c77961e19747a1117b63f35a3667b4b7ed14c991bf673eb1f4df4970d642f37170a6abd55d219897b0e02fcd42d7475f6b1268b810706c6818595682de2a DIST PDL-2.063.tar.gz 2813482 BLAKE2B eff1737c2d27a51b911f8dd32095bb3016cddf52a93242ddad9fad3e179cd499d84b17ef1fbed4e11bdc759823032636cc32994eea2b8c91c6adda7cb1f15ef9 SHA512 dfb776103fa98da990cc30939e218b392c7c25c8c645230a71c7e881cf5325c97f855fe46e9bc093c7517883f78457f67eee14012fa5b39790b8dfcfa1ec08c9 diff --git a/dev-perl/PDL/PDL-2.17.0-r2.ebuild b/dev-perl/PDL/PDL-2.17.0-r2.ebuild deleted file mode 100644 index 2b4ef3f9d7e6..000000000000 --- a/dev-perl/PDL/PDL-2.17.0-r2.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DIST_AUTHOR=CHM -DIST_VERSION=2.017 - -FORTRAN_NEEDED=fortran - -inherit perl-module fortran-2 - -DESCRIPTION="Perl Data Language for scientific computing" - -LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL" -SLOT="0" -KEYWORDS="amd64 arm ppc x86" - -IUSE="+badval doc fortran gd gsl hdf netpbm pdl2 pgplot threads test" - -RDEPEND="sys-libs/ncurses:0= - app-arch/sharutils - dev-perl/Astro-FITS-Header - dev-perl/File-Map - >=dev-perl/Inline-0.680.0 - >=dev-perl/Inline-C-0.620.0 - dev-perl/Module-Compile - >=dev-perl/OpenGL-0.670.200 - dev-perl/TermReadKey - || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) - >=virtual/perl-Data-Dumper-2.121.0 - dev-perl/Pod-Parser - virtual/perl-File-Spec - virtual/perl-File-Temp - virtual/perl-Filter-Simple - dev-perl/Filter - virtual/perl-Storable - >=virtual/perl-Text-Balanced-1.890.0 - - gd? ( media-libs/gd ) - gsl? ( sci-libs/gsl ) - hdf? ( sci-libs/hdf ) - netpbm? ( - media-libs/netpbm - media-video/ffmpeg - ) - pdl2? ( - >=dev-perl/Devel-REPL-1.3.11 - || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) - ) - pgplot? ( dev-perl/PGPLOT ) -" - -DEPEND="${RDEPEND} -" - -BDEPEND="${RDEPEND} - >=virtual/perl-ExtUtils-MakeMaker-6.560.0 - dev-perl/Devel-CheckLib - fortran? ( >=dev-perl/ExtUtils-F77-1.13 ) - test? ( - dev-perl/Test-Exception - dev-perl/Test-Warn - dev-perl/Test-Deep - ) -" - -mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes" - -PATCHES=( - "${FILESDIR}"/${PN}-2.17.0-makemakerfix.patch - "${FILESDIR}"/${PN}-2.17.0-fortran.patch # respect user choice for fortran compiler+flags, add pic - "${FILESDIR}"/${PN}-2.17.0-shared-hdf.patch # search for shared hdf instead of static - "${FILESDIR}"/${PN}-2.17.0-dot-in-inc.patch # fix broken Perl 5.26 compile due to @INC changes -) - -pkg_setup() { - perl_set_version - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - perl-module_src_prepare - find . -name Makefile.PL -exec \ - sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die -} - -src_configure() { - sed -i \ - -e '/USE_POGL/s/=>.*/=> 1,/' \ - -e "/WITH_3D/s/=>.*/=> 1,/" \ - -e "/HTML_DOCS/s/=>.*/=> $(use doc && echo 1 || echo 0),/" \ - -e "/WITH_BADVAL/s/=>.*/=> $(use badval && echo 1|| echo 0),/" \ - -e "/WITH_DEVEL_REPL/s/=>.*/=> $(use pdl2 && echo 1 || echo 0),/" \ - -e "/WITH_GSL/s/=>.*/=> $(use gsl && echo 1 || echo 0),/" \ - -e "/WITH_GD/s/=>.*/=> $(use gd && echo 1 || echo 0),/" \ - -e "/WITH_HDF/s/=>.*/=> $(use hdf && echo 1 || echo 0),/" \ - -e "/WITH_MINUIT/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \ - -e "/WITH_PGPLOT/s/=>.*/=> $(use pgplot && echo 1 || echo 0),/" \ - -e "/WITH_POSIX_THREADS/s/=>.*/=> $(use threads && echo 1 || echo 0),/" \ - -e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \ - -e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \ - perldl.conf || die - perl-module_src_configure -} - -src_test() { - MAKEOPTS+=" -j1" perl-module_src_test -} - -src_install() { - perl-module_src_install - cp Doc/{scantree,mkhtmldoc}.pl "${D}"/${VENDOR_ARCH}/PDL/Doc || die -} - -pkg_postinst() { - perl "${VENDOR_ARCH}/PDL/Doc/scantree.pl" || die - elog "Building perldl.db done. You can recreate this at any time" - elog "by running:" - elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl" -} - -pkg_prerm() { - rm -rf "${EROOT}"/var/lib/pdl/html - rm -f "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod} -} diff --git a/dev-perl/PDL/PDL-2.54.0.ebuild b/dev-perl/PDL/PDL-2.54.0.ebuild deleted file mode 100644 index a84018beffe5..000000000000 --- a/dev-perl/PDL/PDL-2.54.0.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DIST_AUTHOR=ETJ -DIST_VERSION=2.054 -DIST_EXAMPLES=( "Example/*" ) - -FORTRAN_NEEDED=fortran - -inherit perl-module fortran-2 - -DESCRIPTION="Perl Data Language for scientific computing" - -LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -IUSE="+badval doc fortran gd gsl hdf netpbm pdl2 pgplot threads test" - -RDEPEND=" - sys-libs/ncurses:0= - app-arch/sharutils - dev-perl/Astro-FITS-Header - dev-perl/Convert-UU - >=virtual/perl-Data-Dumper-2.121.0 - >=dev-perl/File-Map-0.570.0 - >=virtual/perl-Filter-Simple-0.880.0 - dev-perl/Filter - >=dev-perl/Inline-0.830.0 - >=dev-perl/Inline-C-0.620.0 - >=virtual/perl-Scalar-List-Utils-1.330.0 - dev-perl/Module-Compile - >=dev-perl/OpenGL-0.700.0 - >=dev-perl/TermReadKey-2.340.0 - || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) - >=virtual/perl-Data-Dumper-2.121.0 - dev-perl/Pod-Parser - virtual/perl-File-Spec - virtual/perl-File-Temp - virtual/perl-Filter-Simple - virtual/perl-Storable - >=virtual/perl-Text-Balanced-1.890.0 - fortran? ( >=dev-perl/ExtUtils-F77-1.260.0 ) - gd? ( media-libs/gd ) - gsl? ( sci-libs/gsl ) - hdf? ( - sci-libs/hdf - dev-perl/Alien-HDF4 - ) - netpbm? ( - media-libs/netpbm - media-video/ffmpeg - ) - pdl2? ( - >=dev-perl/Devel-REPL-1.3.11 - || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) - ) - pgplot? ( dev-perl/PGPLOT ) -" - -DEPEND="${RDEPEND} -" - -BDEPEND="${RDEPEND} - >=virtual/perl-Carp-1.200.0 - >=dev-perl/Devel-CheckLib-1.10.0 - >=dev-perl/ExtUtils-Depends-0.402.0 - >=virtual/perl-ExtUtils-MakeMaker-7.120.0 - >=virtual/perl-ExtUtils-ParseXS-3.10.0 - virtual/perl-File-Path - fortran? ( >=dev-perl/ExtUtils-F77-1.130.0 ) - test? ( - dev-perl/Test-Exception - dev-perl/Test-Warn - dev-perl/Test-Deep - ) -" - -mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes" - -PATCHES=( - "${FILESDIR}"/${PN}-2.54.0-fortran.patch # respect user choice for fortran compiler+flags, add pic -) - -pkg_setup() { - perl_set_version - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - perl-module_src_prepare - find . -name Makefile.PL -exec \ - sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die -} - -src_configure() { - sed -i \ - -e '/USE_POGL/s/=>.*/=> 1,/' \ - -e "/WITH_3D/s/=>.*/=> 1,/" \ - -e "/HTML_DOCS/s/=>.*/=> $(use doc && echo 1 || echo 0),/" \ - -e "/WITH_BADVAL/s/=>.*/=> $(use badval && echo 1|| echo 0),/" \ - -e "/WITH_DEVEL_REPL/s/=>.*/=> $(use pdl2 && echo 1 || echo 0),/" \ - -e "/WITH_GSL/s/=>.*/=> $(use gsl && echo 1 || echo 0),/" \ - -e "/WITH_GD/s/=>.*/=> $(use gd && echo 1 || echo 0),/" \ - -e "/WITH_HDF/s/=>.*/=> $(use hdf && echo 1 || echo 0),/" \ - -e "/WITH_MINUIT/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \ - -e "/WITH_PGPLOT/s/=>.*/=> $(use pgplot && echo 1 || echo 0),/" \ - -e "/WITH_POSIX_THREADS/s/=>.*/=> $(use threads && echo 1 || echo 0),/" \ - -e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \ - -e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \ - perldl.conf || die - perl-module_src_configure -} - -src_test() { - MAKEOPTS+=" -j1" perl-module_src_test -} - -src_install() { - perl-module_src_install - cp Doc/{scantree,mkhtmldoc}.pl "${D}"/${VENDOR_ARCH}/PDL/Doc || die -} - -pkg_postinst() { - perl "${VENDOR_ARCH}/PDL/Doc/scantree.pl" || die - elog "Building perldl.db done. You can recreate this at any time" - elog "by running:" - elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl" -} - -pkg_prerm() { - rm -rf "${EROOT}"/var/lib/pdl/html - rm -f "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod} -} diff --git a/dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch b/dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch deleted file mode 100644 index 0007f47b91d5..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch +++ /dev/null @@ -1,142 +0,0 @@ -From 717a19da57ec9f8fc80d4824cad47a04200fc515 Mon Sep 17 00:00:00 2001 -From: Kent Fredric <kentfredric@gmail.com> -Date: Sat, 24 Jun 2017 17:27:27 +1200 -Subject: [PATCH] Backport fix for "." in @INC from 2.018 - -2.018 has far too many changes to safely review in such a short amount -of time. Fixing this trivial build issue gets us what is necessary -for Perl 5.26 roll-out without lots of additional verification ---- - Basic/Core/Core.xs | 2 +- - Basic/Core/pdl.h.PL | 2 +- - Basic/Core/pdlconv.c.PL | 4 ++-- - Basic/Core/pdlcore.c.PL | 4 ++-- - Basic/Core/pdlcore.h.PL | 4 ++-- - Basic/Core/pdlsimple.h.PL | 2 +- - Makefile.PL | 4 ++-- - 7 files changed, 11 insertions(+), 11 deletions(-) - -diff --git a/Basic/Core/Core.xs b/Basic/Core/Core.xs -index 5e95356..b38f14c 100644 ---- a/Basic/Core/Core.xs -+++ b/Basic/Core/Core.xs -@@ -336,7 +336,7 @@ iscontig(x) - - # using "perl" not $^X because that doesn't work on "perl in space" - # TODO: switching back to $^X since using "perl" is not a viable fix --INCLUDE_COMMAND: $^X -e "require q{Dev.pm}; PDL::Core::Dev::generate_core_flags()" -+INCLUDE_COMMAND: $^X -e "require q{./Dev.pm}; PDL::Core::Dev::generate_core_flags()" - - #if 0 - =begin windows_mmap -diff --git a/Basic/Core/pdl.h.PL b/Basic/Core/pdl.h.PL -index d2e9758..6e01445 100644 ---- a/Basic/Core/pdl.h.PL -+++ b/Basic/Core/pdl.h.PL -@@ -6,7 +6,7 @@ use Config; - use File::Basename qw(&basename &dirname); - - # how many variable types (ie PDL_Byte, ...) are there? --require 'Types.pm'; -+require './Types.pm'; - my $ntypes = $#PDL::Types::names; - my $PDL_DATATYPES = PDL::Types::datatypes_header(); - -diff --git a/Basic/Core/pdlconv.c.PL b/Basic/Core/pdlconv.c.PL -index 160e29b..62a57b0 100644 ---- a/Basic/Core/pdlconv.c.PL -+++ b/Basic/Core/pdlconv.c.PL -@@ -7,9 +7,9 @@ use strict; - use Config; - use File::Basename qw(&basename &dirname); - --require 'Dev.pm'; PDL::Core::Dev->import; -+require './Dev.pm'; PDL::Core::Dev->import; - use vars qw( %PDL_DATATYPES ); --require 'Types.pm'; #for typesrtkeys -+require './Types.pm'; #for typesrtkeys - - # This forces PL files to create target in same directory as PL file. - # This is so that make depend always knows where to find PL derivatives. -diff --git a/Basic/Core/pdlcore.c.PL b/Basic/Core/pdlcore.c.PL -index a602b6e..445cfb8 100644 ---- a/Basic/Core/pdlcore.c.PL -+++ b/Basic/Core/pdlcore.c.PL -@@ -6,7 +6,7 @@ use strict; - use Config; - use File::Basename qw(&basename &dirname); - --require 'Dev.pm'; PDL::Core::Dev->import; -+require './Dev.pm'; PDL::Core::Dev->import; - use vars qw( %PDL_DATATYPES ); - - # check for bad value support -@@ -14,7 +14,7 @@ require './Config.pm'; # to load the PDL not the Perl one - die "No PDL::Config found" unless %PDL::Config; - my $bvalflag = $PDL::Config{WITH_BADVAL}; - my $usenan = $PDL::Config{BADVAL_USENAN}; --require 'Types.pm'; -+require './Types.pm'; - PDL::Types->import(':All'); - - -diff --git a/Basic/Core/pdlcore.h.PL b/Basic/Core/pdlcore.h.PL -index 90469f0..760e6a1 100644 ---- a/Basic/Core/pdlcore.h.PL -+++ b/Basic/Core/pdlcore.h.PL -@@ -11,7 +11,7 @@ use strict; - use Config; - use File::Basename qw(&basename &dirname); - --require 'Dev.pm'; PDL::Core::Dev->import; -+require './Dev.pm'; PDL::Core::Dev->import; - use vars qw( %PDL_DATATYPES ); - - # version 2 is for versions after PDL 2.1.1 -@@ -349,7 +349,7 @@ double NaN_double; - - # fortunately it looks like Types.pm.PL is processed before this - # file -- require "Types.pm"; # ie PDL::Types -+ require "./Types.pm"; # ie PDL::Types - - for (PDL::Types::typesrtkeys()) { - my $ctype = $PDL::Types::typehash{$_}{ctype}; -diff --git a/Basic/Core/pdlsimple.h.PL b/Basic/Core/pdlsimple.h.PL -index e511913..43eb557 100644 ---- a/Basic/Core/pdlsimple.h.PL -+++ b/Basic/Core/pdlsimple.h.PL -@@ -3,7 +3,7 @@ - use Config; - use File::Basename qw(&basename &dirname); - --require 'Types.pm'; -+require './Types.pm'; - my $PDL_DATATYPES = PDL::Types::datatypes_header(); - - # List explicitly here the variables you want Configure to -diff --git a/Makefile.PL b/Makefile.PL -index fc8d590..a94d895 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -226,7 +226,7 @@ sub check_f77conf { - - sub make_Version_pm { - # Get Version from Basic/PDL.pm and generated Basic/Core/Version.pm from it -- require 'Basic/PDL.pm'; -+ require './Basic/PDL.pm'; - # keep version info in $PDL::Config - $PDL::Config{PDL_BUILD_VERSION} = "$PDL::VERSION"; - -@@ -376,7 +376,7 @@ make_Types_pm(); - # this will make PDL::Core::Dev's functions available - # in Makefile.PL files in all subdirectories - # IMPORTANT: it has to be after make_Types_pm() --require "Basic/Core/Dev.pm"; PDL::Core::Dev->import(); -+require "./Basic/Core/Dev.pm"; PDL::Core::Dev->import(); - - # only perform one test if required modules are missing - # the test will print an informational message and fail --- -2.13.1 - diff --git a/dev-perl/PDL/files/PDL-2.17.0-fortran.patch b/dev-perl/PDL/files/PDL-2.17.0-fortran.patch deleted file mode 100644 index 8d02a2685cfa..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-fortran.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/Lib/Minuit/Makefile.PL -+++ b/Lib/Minuit/Makefile.PL -@@ -149,7 +149,7 @@ - (" - - minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f -- $mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f -+ \$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f - " )} @minuitfiles; - - if (!defined($PDL::Config{MINUIT_LIB})){ ---- a/Lib/Slatec/Makefile.PL -+++ b/Lib/Slatec/Makefile.PL -@@ -136,7 +136,7 @@ - (" - - slatec/$_\$(OBJ_EXT): slatec/$_.f -- $mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f -+ \$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f - " )} @slatecfiles; - - } diff --git a/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch b/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch deleted file mode 100644 index b564a95db3cd..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/Demos/BAD2_demo.pm.PL 2006/04/20 07:42:24 1.1 -+++ b/Demos/BAD2_demo.pm.PL 2006/04/20 07:42:32 -@@ -3,6 +3,7 @@ - # - requires both bad-value support and PGPLOT - # - -+use blib; - use strict; - - use Config; ---- a/Demos/BAD_demo.pm.PL 2006/04/20 07:42:17 1.1 -+++ b/Demos/BAD_demo.pm.PL 2006/04/20 07:42:38 -@@ -3,6 +3,7 @@ - # - needed since we allow bad pixel handling to be switched off - # - -+use blib; - use strict; - - use Config; diff --git a/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch b/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch deleted file mode 100644 index 0937b98864a4..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -ruN PDL-2.017.orig/IO/HDF/Makefile.PL PDL-2.017/IO/HDF/Makefile.PL ---- PDL-2.017.orig/IO/HDF/Makefile.PL 2016-09-23 12:43:47.000000000 +0200 -+++ PDL-2.017/IO/HDF/Makefile.PL 2016-10-27 22:09:04.048315756 +0200 -@@ -56,25 +56,25 @@ - - # Look for the libs: - foreach my $libdir ( @HDF_lib_locations ) { -- if (-e "$libdir/libdfalt.a" && !$found_df) { -+ if (-e "$libdir/libdfalt.$Config{so}" && !$found_df) { - $found_df = 1; - $hdf_lib_path = $libdir; - $hdf_libs = '-lmfhdfalt -ldfalt'; -- print "Found libdfalt.a at $libdir/libdfalt.a\n"; -+ print "Found libdfalt.$Config{so} at $libdir/libdfalt.$Config{so}\n"; - } - -- if (-e "$libdir/libdf.a" && !$found_df) { -+ if (-e "$libdir/libdf.$Config{so}" && !$found_df) { - $found_df = 1; - $hdf_lib_path = $libdir; - $hdf_libs = '-lmfhdf -ldf'; -- print "Found libdf.a at $libdir/libdf.a\n"; -+ print "Found libdf.$Config{so} at $libdir/libdf.$Config{so}\n"; - } - -- if (-e "$libdir/libhdf.a" && !$found_df) { -+ if (-e "$libdir/libhdf.$Config{so}" && !$found_df) { - $found_df = 1; - $hdf_lib_path = $libdir; - $hdf_libs = '-lmfhdf -lhdf -lxdr'; -- print "Found libhdf.a at $libdir/libhdf.a\n"; -+ print "Found libhdf.$Config{so} at $libdir/libhdf.$Config{so}\n"; - } - - # Look for the szip library, which HDF >= 4.2r0 needs, but older versions don't! -@@ -91,7 +91,7 @@ - } # foreach $libdir... - - unless( defined( $hdf_lib_path ) ) { -- $msg .= "Cannot find hdf library, libdf.a.\n" -+ $msg .= "Cannot find hdf library, libdf.$Config{so}.\n" - . "Please add the correct library path to Makefile.PL or install HDF\n"; - } - diff --git a/dev-perl/PDL/files/PDL-2.54.0-fortran.patch b/dev-perl/PDL/files/PDL-2.54.0-fortran.patch deleted file mode 100644 index 883d4e4ade65..000000000000 --- a/dev-perl/PDL/files/PDL-2.54.0-fortran.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ruN PDL-2.054.orig/Libtmp/Minuit/Makefile.PL PDL-2.054/Libtmp/Minuit/Makefile.PL ---- PDL-2.054.orig/Libtmp/Minuit/Makefile.PL 2021-06-13 15:28:36.000000000 +0200 -+++ PDL-2.054/Libtmp/Minuit/Makefile.PL 2021-07-29 00:34:57.754727357 +0200 -@@ -139,7 +139,7 @@ - (" - - minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f -- $mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f -+ \$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f - " )} @minuitfiles; - - if (!defined($PDL::Config{MINUIT_LIB})){ -diff -ruN PDL-2.054.orig/Libtmp/Slatec/Makefile.PL PDL-2.054/Libtmp/Slatec/Makefile.PL ---- PDL-2.054.orig/Libtmp/Slatec/Makefile.PL 2021-06-13 15:29:15.000000000 +0200 -+++ PDL-2.054/Libtmp/Slatec/Makefile.PL 2021-07-29 00:34:57.754727357 +0200 -@@ -103,7 +103,7 @@ - (" - - slatec/$_\$(OBJ_EXT): slatec/$_.f -- $mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f -+ \$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f - " )} @slatecfiles; - - }; |