summaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Pari/files/patch-makefile
blob: 9a33e8398aa6f322e03d707be3db7b52a5d62d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- libPARI/Makefile.PL.orig	Thu Apr 24 05:23:32 2003
+++ libPARI/Makefile.PL	Thu Aug 21 14:51:06 2003
@@ -137,11 +137,13 @@
   $mycflags .= " -DASMINLINE";
 }
 $mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
+$mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS};
 
 @obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);
 push @obj_files, 'kernel2$(OBJ_EXT)' if $kernel{converted2};
 
 $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;
 
OpenPOWER on IntegriCloud