summaryrefslogtreecommitdiff
path: root/math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-29 01:03:19 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-29 01:03:19 +0800
commite05d39136c72bfb5ae0ccf781cb3412a0fc800fd (patch)
treeccdea7b416339479dd301fd0258443b34a57ff21 /math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot
parentmath/p5-PDL-Graphics-Limits: Add p5-PDL-Graphics-Limits 0.03 (diff)
math/p5-PDL-Graphics-PLplot: Add p5-PDL-Graphics-PLplot 0.84
PDL::Graphics::PLplot is the PDL interface to the PLplot graphics library. It provides a familiar 'perlish' Object Oriented interface as well as access to the low-level PLplot commands from the C-API.
Diffstat (limited to 'math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot')
-rw-r--r--math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot31
1 files changed, 31 insertions, 0 deletions
diff --git a/math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot b/math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot
new file mode 100644
index 000000000000..e04347f75386
--- /dev/null
+++ b/math/p5-PDL-Graphics-PLplot/files/patch-Alien-PLplot
@@ -0,0 +1,31 @@
+--- Makefile.PL.orig 2024-04-21 20:36:49 UTC
++++ Makefile.PL
+@@ -7,7 +7,6 @@ use Devel::CheckLib;
+
+ use PDL::Core::Dev;
+ use Devel::CheckLib;
+-use Alien::PLplot;
+
+ my $PL_MAJOR = 5; # minimum required
+ my $PL_MINOR = 13;
+@@ -31,9 +30,9 @@ sub probe {
+ }
+
+ sub probe {
+- $header = (Alien::PLplot->inline_auto_include)->[0];
+- $plplot_include_path = Alien::PLplot->cflags;
+- $libs = Alien::PLplot->libs;
++ $header = 'plplot.h';
++ $plplot_include_path = '-I%%LOCALBASE%%/include/plplot';
++ $libs = '-L%%LOCALBASE%%/lib -lplplot';
+ }
+
+ probe;
+@@ -77,7 +76,6 @@ $hash{CONFIGURE_REQUIRES} = {
+ $hash{CONFIGURE_REQUIRES} = {
+ 'PDL' => '2.083', # output OtherPars
+ 'Devel::CheckLib' => 0,
+- 'Alien::PLplot' => 0,
+ };
+ # $hash{'OPTIMIZE'} = '-g'; # If you want to debug, uncomment this.
+ $hash{TEST_REQUIRES} = {