Update to 1.6003 Update DEPENDS Upstream changes: 2017-01-11 v1.6003 pjacklam * Fix syntax for required version of Math::BigInt::Lib. * Better checking of POD coverage. * Sync test files with Math-BigInt-1.999808. 2016-12-03 v1.6002 pjacklam * Use ExtUtils::MakeMaker rather than Module::Install in Makefile.PL * Don't use Devel::CheckLib. It fails on Windows even in cases where this distribution would build just fine. * Update BUGS file. * Remove author information in LICENSE file. * Inform that the TODO file is not up to date. * Remove INSTALL file. The information is in the README file. 2016-11-23 v1.6001 pjacklam * Sync test files with Math-BigInt-1.999801. * Correct version number in CHANGES file. 2016-11-15 v1.6000 pjacklam * Sync test files with Math-BigInt-1.999800. * Update bundled Devel::CheckLib from v1.03 to v1.07. * Math::BigInt::GMP is now a subclass of Math::BigInt::Lib, so remove pure Perl methods from Math::BigInt::GMP that are implemented in the superclass Math::BigInt::Lib. The methods removed are _digit(), _num(), _nok(), and _log_int(). The version of _log_int() implemented in Math::BigInt::GMP was buggy anyway. * Fix _check() so it doesn't give a "use of uninitialized value" warning if given an undefined "object". * Trim whitespace in all files. * Better use of the functionality in Test::More in t/bigintg.t.diff -r1.15 -r1.16 pkgsrc/math/p5-Math-BigInt-GMP/Makefile
(wen)
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2016/08/09 00:01:14 wen Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2017/01/18 13:48:34 wen Exp $ | |
2 | 2 | |||
3 | DISTNAME= Math-BigInt-GMP-1.51 | 3 | DISTNAME= Math-BigInt-GMP-1.6003 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | CATEGORIES= math perl5 | 5 | CATEGORIES= math perl5 | |
6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://search.cpan.org/dist/Math-BigInt-GMP/ | 9 | HOMEPAGE= http://search.cpan.org/dist/Math-BigInt-GMP/ | |
10 | COMMENT= Perl module for arbitrary size integer math via the GMP library | 10 | COMMENT= Perl module for arbitrary size integer math via the GMP library | |
11 | LICENSE= ${PERL5_LICENSE} | 11 | LICENSE= ${PERL5_LICENSE} | |
12 | 12 | |||
13 | DEPENDS+= p5-Math-BigInt>=1.999719:../../math/p5-Math-BigInt | 13 | DEPENDS+= p5-Math-BigInt>=1.999808:../../math/p5-Math-BigInt | |
14 | 14 | |||
15 | PERL5_REQD+= 5.14.2 # for Math::BigInt 1.997 | 15 | PERL5_REQD+= 5.14.2 # for Math::BigInt 1.997 | |
16 | PERL5_PACKLIST= auto/Math/BigInt/GMP/.packlist | 16 | PERL5_PACKLIST= auto/Math/BigInt/GMP/.packlist | |
17 | 17 | |||
18 | .include "../../devel/gmp/buildlink3.mk" | 18 | .include "../../devel/gmp/buildlink3.mk" | |
19 | .include "../../lang/perl5/module.mk" | 19 | .include "../../lang/perl5/module.mk" | |
20 | .include "../../mk/bsd.pkg.mk" | 20 | .include "../../mk/bsd.pkg.mk" |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2016/08/09 00:01:14 wen Exp $ | 1 | $NetBSD: distinfo,v 1.8 2017/01/18 13:48:34 wen Exp $ | |
2 | 2 | |||
3 | SHA1 (Math-BigInt-GMP-1.51.tar.gz) = f4db763aa97330c3f2fc58c250c31b0e6154e362 | 3 | SHA1 (Math-BigInt-GMP-1.6003.tar.gz) = 7b4c99be6c034d8d518e4a621d7580fdcfa5674c | |
4 | RMD160 (Math-BigInt-GMP-1.51.tar.gz) = 2816e57f0a59d60727b9daead098e61ba1fe4710 | 4 | RMD160 (Math-BigInt-GMP-1.6003.tar.gz) = 8d332fc2a664aec58d53eb7c2cf4abcb4abbc1a6 | |
5 | SHA512 (Math-BigInt-GMP-1.51.tar.gz) = f2e56ce48e9a387821b409078228d20f7348eef5eea0aac4844a0f29340c7a2677693fda40c2bb85527f2f77cd9519401109b037040fc18266b401cfae134601 | 5 | SHA512 (Math-BigInt-GMP-1.6003.tar.gz) = af2b510aa07fb951a8dc3a4a0e1b2cc43e81a606ed16bfd0a728547b556e8094c84804f055e43d5f65893a18e3974da98c937f14d6094ca8452eb78246c2a7ef | |
6 | Size (Math-BigInt-GMP-1.51.tar.gz) = 59701 bytes | 6 | Size (Math-BigInt-GMP-1.6003.tar.gz) = 2439964 bytes | |
7 | SHA1 (patch-aa) = 326c7ba8a7d3a08add96801349c6908f742e2fd5 | 7 | SHA1 (patch-aa) = 86446e8fd488f280669f2cc8f5596e4c56d865a2 |
@@ -1,15 +1,16 @@ | @@ -1,15 +1,16 @@ | |||
1 | $NetBSD: patch-aa,v 1.5 2016/08/09 00:01:14 wen Exp $ | 1 | $NetBSD: patch-aa,v 1.6 2017/01/18 13:48:34 wen Exp $ | |
2 | 2 | |||
3 | Trick perl into emitting use of -lgmp. Actual library | 3 | Trick perl into emitting use of -lgmp. Actual library | |
4 | location will be handled via buildlink / wrapper. | 4 | location will be handled via buildlink / wrapper. | |
5 | 5 | |||
6 | --- Makefile.PL.orig 2016-08-08 23:57:46.000000000 +0000 | 6 | --- Makefile.PL.orig 2017-01-18 13:30:25.000000000 +0000 | |
7 | +++ Makefile.PL | 7 | +++ Makefile.PL | |
8 | @@ -33,6 +33,6 @@ WriteMakefile | 8 | @@ -30,7 +30,7 @@ WriteMakefile | |
9 | TEST_REQUIRES => { | 9 | 'Math::BigInt' => 1.999808, | |
10 | Test::More => 0.47, | 10 | }, | |
11 | }, | 11 | 'LICENSE' => 'perl_5', | |
12 | - 'LIBS' => ['-lgmp'], | 12 | - 'LIBS' => ['-lgmp'], # e.g., '-lm' | |
13 | + 'LIBS' => ["-L$ENV{PREFIX}/lib -lgmp"], | 13 | + 'LIBS' => ["-L$ENV{PREFIX}/lib -lgmp"], # e.g., '-lm' | |
14 | 'SIGN' => 1, | 14 | 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' | |
15 | ); | 15 | 'INC' => '', # e.g., '-I/usr/include/other' | |
16 | 'SIGN' => 1, |