update to 0.55

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

View File

@ -1,7 +1,7 @@
COMMENT = perl interface to GMP integer functions
MODULES = cpan
DISTNAME = Math-GMPz-0.51
DISTNAME = Math-GMPz-0.55
CATEGORIES = math
# Perl
@ -17,7 +17,8 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
TEST_DEPENDS = math/p5-Math-BigInt-GMP \
math/p5-Math-GMPf
math/p5-Math-GMPf \
devel/p5-Test-Warn
MAKE_ENV += TEST_POD=Yes

View File

@ -1,2 +1,2 @@
SHA256 (Math-GMPz-0.51.tar.gz) = TOoaA+UAvzWooMxiVFCxe0R34bzyurE331Zwv7UUY1M=
SIZE (Math-GMPz-0.51.tar.gz) = 90329
SHA256 (Math-GMPz-0.55.tar.gz) = zeeeumvsCcHuDtXC41HpQLBn1TAVjM0alu0QJebd23k=
SIZE (Math-GMPz-0.55.tar.gz) = 99085

View File

@ -1,12 +1,12 @@
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -74,9 +74,8 @@ my %options = (
@@ -117,9 +117,8 @@ my %options = (
ABSTRACT => 'Perl interface to the GMP integer functions',
DEFINE => $defines,
- LIBS => [
- '-lgmp'
- $libopts
- ],
+ INC => "$ENV{CPPFLAGS}",
+ LIBS => ["$ENV{LDFLAGS} -lgmp"],

View File

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