math/PDL: Update to 2.085

Changes:	https://metacpan.org/dist/PDL/changes
This commit is contained in:
Po-Chuan Hsieh 2024-02-21 22:26:38 +08:00
parent d30efc9b38
commit 1ac8f99e06
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 4 additions and 37 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= PDL
PORTVERSION= 2.084
PORTVERSION= 2.085
CATEGORIES= math perl5
MASTER_SITES= CPAN

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1689398783
SHA256 (PDL-2.084.tar.gz) = 96256439f3a2501ffa93b3cc7c8cadbf91aabf6cb5f874624917833656006468
SIZE (PDL-2.084.tar.gz) = 3064351
TIMESTAMP = 1708448934
SHA256 (PDL-2.085.tar.gz) = 8425595db6def04762fa6ee6b92485ea762914a2b1d694f9b7607f4e51e0b2c1
SIZE (PDL-2.085.tar.gz) = 3061393

View file

@ -1,33 +0,0 @@
--- Libtmp/Minuit/Makefile.PL.orig 2022-02-14 10:02:23 UTC
+++ Libtmp/Minuit/Makefile.PL
@@ -120,7 +120,7 @@ undef &MY::postamble; # suppress warning
my $mycompiler = $f77->compiler();
my $mycflags = $f77->cflags();
my $orig = pdlpp_postamble_int(@pack);
- my $hack_64bit = ($Config{archname}=~m/x86_64|i686/ ?" -fPIC " : "");
+ my $hack_64bit = ($Config{archname}=~m/amd64|i686|x86_64/ ?" -fPIC " : "");
$orig =~ s/:\s*minuit\.pd/: minuit.pd/;
$orig .= "FFLAGS = $hack_64bit $mycflags \$(OPTIMIZE)\n";
$orig .= join "\n",map {
--- Libtmp/Slatec/Makefile.PL.orig 2022-02-14 10:02:23 UTC
+++ Libtmp/Slatec/Makefile.PL
@@ -81,7 +81,7 @@ undef &MY::postamble; # suppress warning
my $mycompiler = $f77->compiler();
my $mycflags = $f77->cflags();
my $orig = pdlpp_postamble_int(@pack);
- my $hack_64bit = $Config{archname}=~m/x86_64|i686/ ?" -fPIC " : "";
+ my $hack_64bit = $Config{archname}=~m/amd64|i686|x86_64/ ?" -fPIC " : "";
$orig =~ s/:\s*slatec\.pd/: slatec.pd/;
$orig .= "FFLAGS = $hack_64bit $mycflags \$(OPTIMIZE)\n";
join "\n", $orig, map "$_\$(OBJ_EXT): $_.f
--- Makefile.PL.orig 2023-03-31 16:48:47 UTC
+++ Makefile.PL
@@ -160,7 +160,7 @@ my @cleanup = ("pdl$Config{exe_ext}", qw(
# use similar mods to affect CCFLAGS on other systems as needed...
my $ccflags = $Config{ccflags};
-if($Config{archname}=~m/x86_64/) {
+if($Config{archname}=~m/amd64|i686|x86_64/) {
$ccflags .= " -fPIC";
}