aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-MPFR/files
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 /math/p5-Math-MPFR/files
parentf9f01c19a171f34f41518b33d5f6c5031b11a7f5 (diff)
downloadports-e93beb87f2cb7663b05a84c33ff7c3b24e0a14ec.tar.gz
ports-e93beb87f2cb7663b05a84c33ff7c3b24e0a14ec.zip
math/p5-Math-MPFR: Update to 4.16
Diffstat (limited to 'math/p5-Math-MPFR/files')
-rw-r--r--math/p5-Math-MPFR/files/patch-Makefile.PL34
1 files changed, 17 insertions, 17 deletions
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',