mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
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.
31 lines
820 B
Text
31 lines
820 B
Text
--- 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} = {
|