maintenance update; tests still pass. ok?
Index: p5-Math-GMPf/Makefile =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPf/Makefile,v retrieving revision 1.5 diff -u -p -u -r1.5 Makefile --- p5-Math-GMPf/Makefile 11 Mar 2022 19:36:24 -0000 1.5 +++ p5-Math-GMPf/Makefile 12 Nov 2022 22:52:42 -0000 @@ -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 Index: p5-Math-GMPf/distinfo =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPf/distinfo,v retrieving revision 1.2 diff -u -p -u -r1.2 distinfo --- p5-Math-GMPf/distinfo 27 Oct 2021 17:06:33 -0000 1.2 +++ p5-Math-GMPf/distinfo 12 Nov 2022 22:52:42 -0000 @@ -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 Index: p5-Math-GMPf/patches/patch-Makefile_PL =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPf/patches/patch-Makefile_PL,v retrieving revision 1.3 diff -u -p -u -r1.3 patch-Makefile_PL --- p5-Math-GMPf/patches/patch-Makefile_PL 11 Mar 2022 19:36:24 -0000 1.3 +++ p5-Math-GMPf/patches/patch-Makefile_PL 12 Nov 2022 22:52:42 -0000 @@ -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'}, Index: p5-Math-GMPf/patches/patch-Random_Makefile_PL =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPf/patches/patch-Random_Makefile_PL,v retrieving revision 1.3 diff -u -p -u -r1.3 patch-Random_Makefile_PL --- p5-Math-GMPf/patches/patch-Random_Makefile_PL 11 Mar 2022 19:36:24 -0000 1.3 +++ p5-Math-GMPf/patches/patch-Random_Makefile_PL 12 Nov 2022 22:52:42 -0000 @@ -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' } - }; Index: p5-Math-GMPz/Makefile =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPz/Makefile,v retrieving revision 1.5 diff -u -p -u -r1.5 Makefile --- p5-Math-GMPz/Makefile 11 Mar 2022 19:36:25 -0000 1.5 +++ p5-Math-GMPz/Makefile 12 Nov 2022 22:52:42 -0000 @@ -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 @@ -13,11 +13,12 @@ WANTLIB += c gmp>=4 perl LIB_DEPENDS = devel/gmp -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ +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 Index: p5-Math-GMPz/distinfo =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPz/distinfo,v retrieving revision 1.2 diff -u -p -u -r1.2 distinfo --- p5-Math-GMPz/distinfo 27 Oct 2021 17:07:25 -0000 1.2 +++ p5-Math-GMPz/distinfo 12 Nov 2022 22:52:42 -0000 @@ -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 Index: p5-Math-GMPz/patches/patch-Makefile_PL =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPz/patches/patch-Makefile_PL,v retrieving revision 1.3 diff -u -p -u -r1.3 patch-Makefile_PL --- p5-Math-GMPz/patches/patch-Makefile_PL 11 Mar 2022 19:36:25 -0000 1.3 +++ p5-Math-GMPz/patches/patch-Makefile_PL 12 Nov 2022 22:52:42 -0000 @@ -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"], Index: p5-Math-GMPz/patches/patch-Random_Makefile_PL =================================================================== RCS file: /cvs/ports/math/p5-Math-GMPz/patches/patch-Random_Makefile_PL,v retrieving revision 1.3 diff -u -p -u -r1.3 patch-Random_Makefile_PL --- p5-Math-GMPz/patches/patch-Random_Makefile_PL 11 Mar 2022 19:36:25 -0000 1.3 +++ p5-Math-GMPz/patches/patch-Random_Makefile_PL 12 Nov 2022 22:52:42 -0000 @@ -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' }