summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-Math-Pari/patches/patch-aa')
-rw-r--r--math/p5-Math-Pari/patches/patch-aa35
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;
+ }
+-