diff options
author | jtb <jtb@pkgsrc.org> | 2003-07-07 22:07:44 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2003-07-07 22:07:44 +0000 |
commit | 45df8a85197223ee5e3d83a04f847b472b20eff1 (patch) | |
tree | 644b15604fefef012ca79c5a118c19258f52ae16 /math/p5-Math-Pari/patches | |
parent | ec9025d8b1d8565eda0a33f3ce9410897a1b7315 (diff) | |
download | pkgsrc-45df8a85197223ee5e3d83a04f847b472b20eff1.tar.gz |
Allow this to work with latest pari.
Diffstat (limited to 'math/p5-Math-Pari/patches')
-rw-r--r-- | math/p5-Math-Pari/patches/patch-aa | 35 |
1 files changed, 35 insertions, 0 deletions
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; + } +- |