summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-07-07 22:07:44 +0000
committerjtb <jtb@pkgsrc.org>2003-07-07 22:07:44 +0000
commit45df8a85197223ee5e3d83a04f847b472b20eff1 (patch)
tree644b15604fefef012ca79c5a118c19258f52ae16 /math/p5-Math-Pari
parentec9025d8b1d8565eda0a33f3ce9410897a1b7315 (diff)
downloadpkgsrc-45df8a85197223ee5e3d83a04f847b472b20eff1.tar.gz
Allow this to work with latest pari.
Diffstat (limited to 'math/p5-Math-Pari')
-rw-r--r--math/p5-Math-Pari/Makefile7
-rw-r--r--math/p5-Math-Pari/distinfo3
-rw-r--r--math/p5-Math-Pari/patches/patch-aa35
3 files changed, 41 insertions, 4 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 0f888300dce..4c9160b6332 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.8 2003/06/02 01:18:26 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2003/07/07 22:07:44 jtb Exp $
#
DISTNAME= Math-Pari-2.001804
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
SVR4_PKGNAME= p5mpa
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
MAINTAINER= tech-pkg@netbsd.org
-#HOMEPAGE=
+#HOMEPAGE=
COMMENT= perl5 interface to the pari math library
DEPENDS+= pari-[0-9]*:../../math/pari
@@ -18,6 +18,7 @@ DEPENDS+= pari-[0-9]*:../../math/pari
USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Math/Pari/.packlist
+TEST_TARGET= # the tests need looking at
# XXX: could be improved...
post-extract:
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index d1da2ee00bd..e3f4dcc780b 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1 2001/10/02 01:34:15 mcr Exp $
+$NetBSD: distinfo,v 1.2 2003/07/07 22:07:44 jtb Exp $
SHA1 (Math-Pari-2.001804.tar.gz) = adb19ceb2acdf716869a519b0d75923c1276df83
Size (Math-Pari-2.001804.tar.gz) = 100492 bytes
+SHA1 (patch-aa) = 30311d156b407eff4ba282484b45ebc13cfb56bb
diff --git a/math/p5-Math-Pari/patches/patch-aa b/math/p5-Math-Pari/patches/patch-aa
new file mode 100644
index 00000000000..ca843d1ad20
--- /dev/null
+++ b/math/p5-Math-Pari/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1 2003/07/07 22:07:45 jtb Exp $
+
+--- libPARI/Makefile.PL.orig
++++ libPARI/Makefile.PL
+@@ -284,7 +284,7 @@
+ #closedir DIR or die "Cannot closedir . : $!";
+
+ @cfiles = <$main_paridir/src/*/*.c>;
+-@cfiles = grep !/\/(plot|ix86|version|mpin|dummy|gp_rl|gp\.)/, @cfiles;
++@cfiles = grep !/\/(kerntest|plot|ix86|version|mpin|dummy|gp_rl|gp\.)/, @cfiles;
+ %cfiles = map {m,/([^/.]*)\.c,i; ($1,$_)} @cfiles;
+
+
+@@ -340,7 +340,6 @@
+ $mp_cflags = '\$(CPlPl) \$(NOASM)'; # NOASM seems to be empty
+ } elsif ($machine eq 'port') {
+ push @portfiles, 'mp.c';
+- $mycflags .= " -D__HAS_NO_ASM__";
+ }
+
+ $cfiles{plotgnuplot} = "$main_paridir/src/graph/plotgnuplot.c";
+@@ -390,7 +389,7 @@
+ ASFLAGS => $assflags{$machine} || '',
+ },
+ DEFINE => $mycflags,
+- INC => "-I$main_paridir/src/headers -I$main_paridir/src/graph -I.",
++ INC => "-I$main_paridir/src/headers -I$main_paridir/src/graph -I$main_paridir/src/language -I.",
+ C => \@cfiles,
+ SKIP => [qw( distclean test dist makeaperl xs_o static)],
+ clean => {'FILES' =>
+@@ -460,4 +459,3 @@
+ }
+ return $self->MM::const_config;
+ }
+-