update to 0.49

ok aisha@
pull/10/head
steven 2022-11-13 19:12:20 +00:00
parent 9ec9623ade
commit 2a12e366c4
4 changed files with 13 additions and 13 deletions

View File

@ -1,7 +1,7 @@
COMMENT = perl interface to GMP floating point functions
MODULES = cpan
DISTNAME = Math-GMPf-0.44
DISTNAME = Math-GMPf-0.49
CATEGORIES = math
# Perl

View File

@ -1,2 +1,2 @@
SHA256 (Math-GMPf-0.44.tar.gz) = PtoEq0QSIzE6CrVRN8y+FCbrtafGKphEJ0ov7swWzWs=
SIZE (Math-GMPf-0.44.tar.gz) = 55068
SHA256 (Math-GMPf-0.49.tar.gz) = l+1F5L1m9RQw6m0gwSjTycwOITUFnEtdQsfdFTHoC74=
SIZE (Math-GMPf-0.49.tar.gz) = 62542

View File

@ -1,15 +1,15 @@
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -63,9 +63,8 @@ my %options = (
@@ -106,9 +106,8 @@ my %options = (
AUTHOR => 'Sisyphus (sisyphus at (@) cpan dot (.) org)',
ABSTRACT => 'Perl interface to the GMP floating point functions',
DEFINE => $defines,
- LIBS => [
- '-lgmp'
- $libopts
- ],
+ INC => "$ENV{CPPFLAGS}",
+ LIBS => ["$ENV{LDFLAGS} -lgmp"],
LICENSE => 'perl',
VERSION_FROM => 'GMPf.pm',
PREREQ_PM => {'Exporter' => '5.58'}, # avoid test failures on pre perl-5.8.4
PREREQ_PM => {'Exporter' => '5.58', 'Test::More' => '0.88'},

View File

@ -1,14 +1,14 @@
Index: Random/Makefile.PL
--- Random/Makefile.PL.orig
+++ Random/Makefile.PL
@@ -10,8 +10,8 @@ my %options = %{
@@ -11,8 +11,8 @@ my %options = %{
'../typemap'
],
'NAME' => 'Math::GMPf::Random',
- 'LIBS' => $LIBS,
- 'INC' => $INC,
+ 'INC' => "$ENV{CPPFLAGS}",
+ 'LIBS' => ["$ENV{LDFLAGS} -lgmp"],
'NAME' => 'Math::GMPf::Random',
- 'LIBS' => $LIBS,
- 'INC' => $INC,
+ 'LIBS' => "$ENV{LDFLAGS} -lgmp",
+ 'INC' => "$ENV{CPPFLAGS}",
'DEFINE' => $DEFS,
'VERSION_FROM' => 'Random.pm'
}
};