[136940] trunk/dports/perl/p5-pdl
devans at macports.org
devans at macports.org
Sat May 30 18:12:46 PDT 2015
Revision: 136940
https://trac.macports.org/changeset/136940
Author: devans at macports.org
Date: 2015-05-30 18:12:46 -0700 (Sat, 30 May 2015)
Log Message:
-----------
p5-pdl: update to version 2.009, PDL::Graphics::PLplot has been removed from the PDL distribution as of this release, remove +plplot variant and associated configuration items, patch to remove residual plplot cruft that breaks build.
Modified Paths:
--------------
trunk/dports/perl/p5-pdl/Portfile
trunk/dports/perl/p5-pdl/files/patch-perldl.conf.diff
Added Paths:
-----------
trunk/dports/perl/p5-pdl/files/patch-Graphics-Makefile.PL.diff
Modified: trunk/dports/perl/p5-pdl/Portfile
===================================================================
--- trunk/dports/perl/p5-pdl/Portfile 2015-05-30 22:54:16 UTC (rev 136939)
+++ trunk/dports/perl/p5-pdl/Portfile 2015-05-31 01:12:46 UTC (rev 136940)
@@ -5,7 +5,7 @@
PortGroup perl5 1.0
perl5.branches 5.16 5.18 5.20
-perl5.setup PDL 2.008
+perl5.setup PDL 2.009
maintainers peculier.com:mgrimes openmaintainer
license {Artistic-1 GPL}
description Perl Data Language - scientific computing capability for perl
@@ -19,14 +19,14 @@
homepage http://pdl.perl.org/
-checksums rmd160 80259cbe8b10e63afa8c70f73a3714e05119a145 \
- sha256 44f1246ee5fb6f7252870aa0afe11f3c05d7e5c70bfdf5677fa20da19212d9b8
+checksums rmd160 467b71e42c29fb820db76079aee5564a6619a365 \
+ sha256 7a16c91f7679140d77add64fd2236670f8ffa36874b8628fe733b23b3fc524b8
#
# support options
#
# plotting support using pgplot (PDL::Graphics::PGPLOT) is always enabled
-# plotting support using plplot (PDL::Graphics::PLplot) is optional, use +plplot to enable (#46305)
+# plotting support using plplot (PDL::Graphics::PLplot) has been removed from the PDL distribution as of release 2.009
# plotting support using gnuplot is available via separate module PDL::Graphics::Gnuplot
# 3D plotting support (PDL::Graphics::TriD) using opengl is optional, use +opengl to enable (#46306)
# hdf4 support (PDL::IO::HDF) is enabled by default, use -hdf4 to disable (#46304)
@@ -42,7 +42,6 @@
variant gd description {Enable support for the GD image library} {}
variant hdf4 description {Enable support for the HDF4 SD library} {}
variant opengl description {Enable TriD plotting support using opengl} {}
-variant plplot description {Enable plotting support using plplot} {}
variant proj description {Enable support for the Proj4 projection library} {}
default_variants +hdf4
@@ -76,7 +75,6 @@
set enable_gd 0
set enable_hdf4 0
set enable_opengl 0
- set enable_plplot 0
set enable_proj 0
if {[variant_isset gd]} {
@@ -97,12 +95,6 @@
port:p${perl5.major}-opengl
}
- if {[variant_isset plplot]} {
- set enable_plplot 1
- depends_lib-append \
- port:plplot
- }
-
if {[variant_isset proj]} {
set enable_proj 1
depends_lib-append \
@@ -112,13 +104,13 @@
# pgplot is not universal
universal_variant no
- patchfiles patch-perldl.conf.diff
+ patchfiles patch-perldl.conf.diff \
+ patch-Graphics-Makefile.PL.diff
post-patch {
reinplace "s|/usr/local|${prefix}|g" \
${worksrcpath}/Basic/Core/pdlsimple.h.PL \
${worksrcpath}/Doc/Doc/Config.pm.PL \
- ${worksrcpath}/Graphics/PLplot/Makefile.PL \
${worksrcpath}/Graphics/TriD/Makefile.PL \
${worksrcpath}/IO/Browser/Makefile.PL \
${worksrcpath}/IO/GD/Makefile.PL \
@@ -132,7 +124,6 @@
reinplace "s|__WITH_GD__|${enable_gd}|" ${worksrcpath}/perldl.conf
reinplace "s|__WITH_HDF__|${enable_hdf4}|" ${worksrcpath}/perldl.conf
reinplace "s|__WITH_OPENGL__|${enable_opengl}|" ${worksrcpath}/perldl.conf
- reinplace "s|__WITH_PLPLOT__|${enable_plplot}|" ${worksrcpath}/perldl.conf
reinplace "s|__WITH_PROJ__|${enable_proj}|" ${worksrcpath}/perldl.conf
}
Added: trunk/dports/perl/p5-pdl/files/patch-Graphics-Makefile.PL.diff
===================================================================
--- trunk/dports/perl/p5-pdl/files/patch-Graphics-Makefile.PL.diff (rev 0)
+++ trunk/dports/perl/p5-pdl/files/patch-Graphics-Makefile.PL.diff 2015-05-31 01:12:46 UTC (rev 136940)
@@ -0,0 +1,11 @@
+--- Graphics/Makefile.PL.orig 2015-05-30 16:33:02.000000000 -0700
++++ Graphics/Makefile.PL 2015-05-30 16:33:26.000000000 -0700
+@@ -2,7 +2,7 @@
+ use warnings;
+ use ExtUtils::MakeMaker;
+
+-my @subdirs = qw(PGPLOT LUT IIS PLplot Limits);
++my @subdirs = qw(PGPLOT LUT IIS Limits);
+
+ # we try and build unless WITH_3D == 0
+ my $t = $PDL::Config{WITH_3D};
Modified: trunk/dports/perl/p5-pdl/files/patch-perldl.conf.diff
===================================================================
--- trunk/dports/perl/p5-pdl/files/patch-perldl.conf.diff 2015-05-30 22:54:16 UTC (rev 136939)
+++ trunk/dports/perl/p5-pdl/files/patch-perldl.conf.diff 2015-05-31 01:12:46 UTC (rev 136940)
@@ -9,15 +9,6 @@
# USE_POGL => 0,
#
POGL_VERSION => 0.6702, # minimum compatible OpenGL version
-@@ -127,7 +127,7 @@
- #
- # default settings (let PDL build decide whether to build PLPLOT)
- #
-- WITH_PLPLOT => 0, # undef means Leave it up to PDL to decide
-+ WITH_PLPLOT => __WITH_PLPLOT__, # undef means Leave it up to PDL to decide
- WHERE_PLPLOT_LIBS => undef, # let PDL search for plplot installation
- WHERE_PLPLOT_INCLUDE => undef, # let PDL search for plplot installation
-
@@ -174,7 +174,7 @@
# false -> don't use
# true -> force use
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150530/7c7e9991/attachment.html>
More information about the macports-changes
mailing list