ports/math/p5-Math-Pari/files/patch-makefile
Jesper Skriver d7db143eea Update ports/math/pari to 1.1.3
Update ports/math/p5-Math-Pari so it works with pari 1.1.3

Approved by:	mharo, Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
2002-03-14 16:31:33 +00:00

21 lines
670 B
Text

--- Makefile.PL.orig Tue Sep 11 02:52:45 2001
+++ Makefile.PL Tue Sep 11 02:53:18 2001
@@ -4,7 +4,7 @@
use File::Copy 'copy';
# Uncomment and change this line if I fail to find it
-# $paridir = "..";
+$paridir = "../../../pari/work/pari-2.1.3";
unless (-t STDOUT) { # Better reports if run with redirections
my $odef = select STDERR;
--- libPARI/Makefile.PL.orig Thu Mar 14 15:04:06 2002
+++ libPARI/Makefile.PL Thu Mar 14 15:03:30 2002
@@ -381,6 +381,7 @@
#}
$mycflags .= " -DDYNAMIC_PLOTTING";
+$mycflags .= " -DDL_DFLT_NAME=\\\"libpari.2.1.3\\\"";
# OMF build needs no underscores:
$mycflags .= " -D__NO_AOUT" if $^O eq 'os2' and !$OS2::is_aout;