diff options
-rw-r--r-- | math/p5-Math-GMP/Makefile | 12 | ||||
-rw-r--r-- | math/p5-Math-GMP/distinfo | 9 | ||||
-rw-r--r-- | math/p5-Math-GMP/patches/patch-aa | 16 |
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, + ); + |