summaryrefslogtreecommitdiff
path: root/math/p5-Math-GMP
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-11-18 05:46:55 +0000
committerhe <he@pkgsrc.org>2008-11-18 05:46:55 +0000
commit8ea9a718fbc2f12f44e01731f7e124da55831f2e (patch)
treec379fb1090b6fe8b661c6922e6e2e6b6bc0fca63 /math/p5-Math-GMP
parent1789217b459dc41bba8dba7ced282c79e2d720eb (diff)
downloadpkgsrc-8ea9a718fbc2f12f44e01731f7e124da55831f2e.tar.gz
Update from version 2.04nb1 to 2.05.
Pkgsrc changes: o Add a patch to make ExtUtils::MakeMaker emit use of the gmp library. Actual use will be handled by bulidlink / wrapper. o Added commented-out extra modules which can be optionally used during "make test" if various TEST_* environment variables are set. Upstream changes: 2.05 2008-10-06 Greg - New maintainer: Greg Sabino Mullane - Allow tests to work on 64-bit platforms. Patch from Flo. (CPAN bugs #5960, #30327, #27641, #12751, #15459) - Add support for probab_prime function. Patch by shlomif@iglu.org.il. (CPAN bug #6184) - Get smarter about detecting lack of GMP libraries. (CPAN bug #18709) - Add META.yml and some more tests.
Diffstat (limited to 'math/p5-Math-GMP')
-rw-r--r--math/p5-Math-GMP/Makefile12
-rw-r--r--math/p5-Math-GMP/distinfo9
-rw-r--r--math/p5-Math-GMP/patches/patch-aa16
3 files changed, 30 insertions, 7 deletions
diff --git a/math/p5-Math-GMP/Makefile b/math/p5-Math-GMP/Makefile
index b1c73721974..b79a561d3c8 100644
--- a/math/p5-Math-GMP/Makefile
+++ b/math/p5-Math-GMP/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2008/10/19 19:18:21 he Exp $
+# $NetBSD: Makefile,v 1.6 2008/11/18 05:46:55 he Exp $
#
-DISTNAME= Math-GMP-2.04
+DISTNAME= Math-GMP-2.05
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
SVR4_PKGNAME= p5mgp
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
@@ -12,6 +11,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-GMP/
COMMENT= Perl 5 module for high speed arbitrary size integer math
+#BUILD_DEPENDS+= p5-Module-Signature>=0.50:../../security/p5-Module-Signature
+#BUILD_DEPENDS+= p5-Text-SpellChecker>0:../../textproc/p5-Text-SpellChecker
+#BUILD_DEPENDS+= p5-Perl-Critic>0:../../devel/p5-Perl-Critic
+#BUILD_DEPENDS+= p5-Pod-Spell>0:../../textproc/p5-Pod-Spell
+#BUILD_DEPENDS+= p5-Test-Pod>=0.95:../../devel/p5-Test-Pod
+BUILD_DEPENDS+= p5-Test-YAML-Meta>=0.03:../../devel/p5-Test-YAML-Meta
+
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/Math/GMP/.packlist
diff --git a/math/p5-Math-GMP/distinfo b/math/p5-Math-GMP/distinfo
index ec78c857ef8..961b17b6344 100644
--- a/math/p5-Math-GMP/distinfo
+++ b/math/p5-Math-GMP/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/13 10:54:30 seb Exp $
+$NetBSD: distinfo,v 1.2 2008/11/18 05:46:55 he Exp $
-SHA1 (Math-GMP-2.04.tar.gz) = 5ce49994591ede22edd3f9ad60cae7c36d63ffb8
-RMD160 (Math-GMP-2.04.tar.gz) = 1a562b7a1846f6ab395834570791232fe67aea69
-Size (Math-GMP-2.04.tar.gz) = 17144 bytes
+SHA1 (Math-GMP-2.05.tar.gz) = 449280e4d8ac4581a2e748338bb675566d43255e
+RMD160 (Math-GMP-2.05.tar.gz) = c0ef29c309a5e610c50a58f17b67fe163013418a
+Size (Math-GMP-2.05.tar.gz) = 23795 bytes
+SHA1 (patch-aa) = 0609ee8dbfdb087c4f08257fe925ac5bb9129a17
diff --git a/math/p5-Math-GMP/patches/patch-aa b/math/p5-Math-GMP/patches/patch-aa
new file mode 100644
index 00000000000..7e6d5f72e2a
--- /dev/null
+++ b/math/p5-Math-GMP/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2008/11/18 05:46:55 he Exp $
+
+Trick perl into emitting use of -lgmp. Actual library
+location will be handled via buildlink / wrapper.
+
+--- Makefile.PL.orig 2008-11-18 05:39:39.000000000 +0000
++++ Makefile.PL
+@@ -8,7 +8,7 @@ my $output = WriteMakefile
+ (
+ 'NAME' => 'Math::GMP',
+ 'VERSION_FROM' => 'lib/Math/GMP.pm',
+- 'LIBS' => ['-lgmp'],
++ 'LIBS' => ["-L$ENV{PREFIX}/lib -lgmp"],
+ 'NO_META' => 1,
+ );
+