aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-30 19:53:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-30 19:53:41 +0000
commite93beb87f2cb7663b05a84c33ff7c3b24e0a14ec (patch)
tree7db5d59bd58a19a82af0711e09a65df46cc8a63b
parentf9f01c19a171f34f41518b33d5f6c5031b11a7f5 (diff)
downloadports-e93beb87f2cb7663b05a84c33ff7c3b24e0a14ec.tar.gz
ports-e93beb87f2cb7663b05a84c33ff7c3b24e0a14ec.zip
math/p5-Math-MPFR: Update to 4.16
-rw-r--r--math/p5-Math-MPFR/Makefile2
-rw-r--r--math/p5-Math-MPFR/distinfo6
-rw-r--r--math/p5-Math-MPFR/files/patch-Makefile.PL34
3 files changed, 21 insertions, 21 deletions
diff --git a/math/p5-Math-MPFR/Makefile b/math/p5-Math-MPFR/Makefile
index 6dcff994faff..921d865e3b18 100644
--- a/math/p5-Math-MPFR/Makefile
+++ b/math/p5-Math-MPFR/Makefile
@@ -1,7 +1,7 @@
# Created by: Wen Heping <wenheping@gmail.com>
PORTNAME= Math-MPFR
-PORTVERSION= 4.14
+PORTVERSION= 4.16
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/math/p5-Math-MPFR/distinfo b/math/p5-Math-MPFR/distinfo
index e2fb3041b66c..14e141264e3b 100644
--- a/math/p5-Math-MPFR/distinfo
+++ b/math/p5-Math-MPFR/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1595416749
-SHA256 (Math-MPFR-4.14.tar.gz) = 49fc1195fbbe3a5f8d9e6da30951cb3fbb7f165695f7d606ea4a835afa84746c
-SIZE (Math-MPFR-4.14.tar.gz) = 184586
+TIMESTAMP = 1622214062
+SHA256 (Math-MPFR-4.16.tar.gz) = 7511292faa0e4a7c8325a0d9a80e0ada73a60ccc197830087e456b236532a635
+SIZE (Math-MPFR-4.16.tar.gz) = 191992
diff --git a/math/p5-Math-MPFR/files/patch-Makefile.PL b/math/p5-Math-MPFR/files/patch-Makefile.PL
index 59c4ca165819..0f91682676f0 100644
--- a/math/p5-Math-MPFR/files/patch-Makefile.PL
+++ b/math/p5-Math-MPFR/files/patch-Makefile.PL
@@ -1,20 +1,20 @@
---- Makefile.PL.orig 2020-07-13 12:00:38 UTC
+--- Makefile.PL.orig 2021-02-12 11:08:52 UTC
+++ Makefile.PL
-@@ -193,7 +193,7 @@ else { # we still need to determine whether__float128
- $mycc = defined($Config{cc}) ? $Config{cc} : 'cc';
- }
+@@ -206,7 +206,7 @@ else { # we still need to determine whether__float128
-- $mylibs = '-lmpfr -lgmp -lquadmath' unless $mylibs;
-+ $mylibs = '-lmpfr -lgmp' unless $mylibs;
+ print $SAVE "\n\n" if $save;
- # Include $mylibs to ensure that -lquadmath is locatable.
- my $out = `$mycc -o have_f128.exe -x c have_f128.in $mylibs 2>&1`;
-@@ -336,7 +336,7 @@ my %options = (
- ABSTRACT => 'Perl interface to the MPFR (floating point) library',
- DEFINE => $defines,
- LIBS => [
-- '-lmpfr -lgmp -lquadmath'
-+ '-lmpfr -lgmp'
- ],
- PREREQ_PM => {
- 'Test::More' => '0.88',
+- my $mylibs = $mklib . " " . $mylibpth . " -lquadmath";
++ my $mylibs = $mklib . " " . $mylibpth;
+
+ my $out = `$mycc -o have_f128.exe -x c have_f128.in 2>&1`;
+
+@@ -347,7 +347,7 @@ my %options = (
+ AUTHOR => 'Sisyphus (sisyphus at (@) cpan dot (.) org)',
+ ABSTRACT => 'Perl interface to the MPFR (floating point) library',
+ DEFINE => $defines,
+- LIBS => [ '-lmpfr -lgmp -lquadmath' ],
++ LIBS => [ '-lmpfr -lgmp' ],
+ PREREQ_PM => { 'Test::More' => '0.88', },
+ #OBJECT => '$(O_FILES)', # set below if $Config{nvsize} == 8
+ LICENSE => 'perl',