Update to p5-Math-GMP-2.0.3, from Jim Geovedi
This commit is contained in:
parent
585efc683a
commit
cebcbbf137
@ -1,12 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2002/07/10 20:48:14 avsm Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2002/09/21 11:59:39 avsm Exp $
|
||||
|
||||
COMMENT= "high speed arbitrary-size integer math"
|
||||
|
||||
DISTNAME= Math-GMP-1.06
|
||||
DISTNAME= Math-GMP-2.03
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= math perl5
|
||||
NEED_VERSION= 1.515
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
|
||||
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (Math-GMP-1.06.tar.gz) = 240e05ec772ce7801035fc80b57da417
|
||||
RMD160 (Math-GMP-1.06.tar.gz) = 765a9b519f5dc93071c9116b0bcc3645435b6f42
|
||||
SHA1 (Math-GMP-1.06.tar.gz) = 1dc83d218df45c1dd898d8b95fa157480da2f6ca
|
||||
MD5 (Math-GMP-2.03.tar.gz) = cf653ffa60607717ff4fc67177ee07b0
|
||||
RMD160 (Math-GMP-2.03.tar.gz) = 21c8a9be2287553a17467b977f5bd0d940e1fb9d
|
||||
SHA1 (Math-GMP-2.03.tar.gz) = 19b931a1d1984b717764fc19e2ae17d3c79a0469
|
||||
|
@ -1,28 +1,11 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2001/01/28 15:28:55 avsm Exp $
|
||||
|
||||
This makefile tries to use the bundled version of GMP, which is a
|
||||
lot older than the one in our tree, so patch it away to use ours - avsm@
|
||||
|
||||
--- Makefile.PL.orig Sun Sep 19 03:48:14 1999
|
||||
+++ Makefile.PL Sun Jan 28 15:11:12 2001
|
||||
@@ -6,18 +6,9 @@ my @paths = qw(/bin /usr/bin /usr/local/
|
||||
my $tar = (grep { -x "$_/tar" } @paths)[0] . "/tar";
|
||||
my $gzip = (grep { -x "$_/gzip" } @paths)[0] . "/gzip";
|
||||
|
||||
-my $cmd = "$gzip -dc gmp-2.0.2.tar.gz | $tar xf -";
|
||||
-system $cmd unless -d 'gmp-2.0.2';
|
||||
-die "tar extraction of gmp-2.0.2.tar.gz failed" unless -d 'gmp-2.0.2';
|
||||
-
|
||||
-chdir 'gmp-2.0.2';
|
||||
-system "./configure --prefix=../gmp && make && make install";
|
||||
-chdir '..';
|
||||
-
|
||||
$OpenBSD: patch-Makefile_PL,v 1.2 2002/09/21 11:59:39 avsm Exp $
|
||||
--- Makefile.PL.orig Mon Feb 18 02:39:39 2002
|
||||
+++ Makefile.PL Wed Sep 18 10:57:43 2002
|
||||
@@ -5,6 +5,6 @@ use ExtUtils::MakeMaker;
|
||||
WriteMakefile(
|
||||
'NAME' => 'Math::GMP',
|
||||
'VERSION_FROM' => 'GMP.pm', # finds $VERSION
|
||||
- 'LIBS' => ['-Lgmp/lib -lgmp'], # e.g., '-lm'
|
||||
- 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
|
||||
- 'INC' => '-Igmp/include', # e.g., '-I/usr/include/other'
|
||||
'VERSION_FROM' => 'lib/Math/GMP.pm', # finds $VERSION
|
||||
- 'LIBS' => ['-lgmp'], # e.g., '-lm'
|
||||
+ 'LIBS' => ["$ENV{LDFLAGS} -lgmp"], # e.g., '-lm'
|
||||
+ 'DEFINE' => '' # e.g., '-DHAVE_SOMETHING'
|
||||
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
|
||||
);
|
||||
|
@ -1,7 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2002/04/16 19:25:04 espie Exp $
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Math/GMP.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Math/GMP/GMP.bs
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Math/GMP/GMP.so
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Math/GMP/autosplit.ix
|
||||
@comment $OpenBSD: PLIST,v 1.4 2002/09/21 11:59:39 avsm Exp $
|
||||
${P5ARCH}/Math/GMP.pm
|
||||
${P5ARCH}/auto/Math/GMP/GMP.bs
|
||||
${P5ARCH}/auto/Math/GMP/GMP.so
|
||||
${P5ARCH}/auto/Math/GMP/autosplit.ix
|
||||
man/man3p/Math::GMP.3p
|
||||
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Math/GMP
|
||||
@dirrm ${P5ARCH}/auto/Math/GMP
|
||||
|
Loading…
Reference in New Issue
Block a user