Ticket #23130: patch-plplot_build

File patch-plplot_build, 815 bytes (added by tim@…, 15 years ago)

patch to fix build of p5-pdl's plplot support

Line 
1diff -Naur PDL-2.4.5_006.orig/Graphics/PLplot/Makefile.PL PDL-2.4.5_006/Graphics/PLplot/Makefile.PL
2--- PDL-2.4.5_006.orig/Graphics/PLplot/Makefile.PL      2009-10-17 23:37:41.000000000 +0200
3+++ PDL-2.4.5_006/Graphics/PLplot/Makefile.PL   2009-12-23 12:53:38.000000000 +0200
4@@ -229,7 +229,7 @@
5 $hash{'LIBS'}      = [$libs];
6 # add this to allow one to use the /ops/tools/lib plplot libs even when
7 # another plplot is installed in /usr/local/lib. D. Hunt 6/4/2004
8-$hash{'LDDLFLAGS'} = " -shared -L$plplot_lib_path -L/usr/local/lib ";
9+$hash{'LDDLFLAGS'} = " -shared -flat_namespace -undefined suppress -L$plplot_lib_path -L/usr/local/lib ";
10 $hash{'INC'}      .= " $plplot_include_path";
11 $hash{'clean'}     = {'FILES'  =>
12                          'PLplot.pm PLplot.xs PLplot.o PLplot.c PLplot.bs *.xfig temp* OPTIONS! Makefile.old'};