<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/345f30d8aa1b318f925b13d69749b931c0684f47">https://github.com/macports/macports-ports/commit/345f30d8aa1b318f925b13d69749b931c0684f47</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 345f30d8aa1b318f925b13d69749b931c0684f47
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Fri Jul 13 10:56:14 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> p5-pdl: update to version 2.19.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * add missing dependencies
</span><span style='display:block; white-space:pre;color:#404040;'> * configure to build with non-standard proj4 install prefix
</span>---
perl/p5-pdl/Portfile | 18 +++++++++---------
perl/p5-pdl/files/patch-proj4-paths.diff | 18 ++++++++++++++++++
2 files changed, 27 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-pdl/Portfile b/perl/p5-pdl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 57ed5b3..2b9698e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-pdl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-pdl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,7 @@ PortSystem 1.0
</span> PortGroup perl5 1.0
perl5.branches 5.26
<span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup PDL 2.018
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.setup PDL 2.019
</span> maintainers peculier.com:mgrimes openmaintainer
license {Artistic-1 GPL}
description Perl Data Language - scientific computing capability for perl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,8 +18,9 @@ platforms darwin
</span>
homepage http://pdl.perl.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 a9616fd7c8461832cd8fe194427ee4b5424eb885 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 af3ce01f093a08ee814d942b448d5c8d9daafb83d89c8933c4a22c5355233805
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 2414dda984abfee842f4e68be99becf6f58c65e5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 51a47beedb1dd5bb4b6f6441a0ad38d4c95d7cbf3bf6b1b4c9128732ea2d77fe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2900275
</span>
#
# support options
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,6 +60,7 @@ if {${perl5.major} != ""} {
</span> port:netpbm \
port:p${perl5.major}-astro-fits-header \
port:p${perl5.major}-convert-uu \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-devel-repl \
</span> port:p${perl5.major}-file-map \
port:p${perl5.major}-filter-simple \
port:p${perl5.major}-inline \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,6 +68,7 @@ if {${perl5.major} != ""} {
</span> port:p${perl5.major}-module-compile \
port:p${perl5.major}-pgplot \
port:p${perl5.major}-term-readline-gnu \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-text-balanced \
</span> port:pgplot \
port:slatec \
port:xorg-libXi \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,21 +107,19 @@ if {${perl5.major} != ""} {
</span> universal_variant no
patchfiles patch-perldl.conf.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-proj4-paths.diff \
</span> patch-proj.diff
post-patch {
reinplace "s|/usr/local|${prefix}|g" \
${worksrcpath}/Basic/Core/pdlsimple.h.PL \
${worksrcpath}/Doc/Doc/Config.pm.PL \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/Graphics/TriD/Makefile.PL \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/IO/Browser/Makefile.PL \
</span> ${worksrcpath}/IO/GD/Makefile.PL \
${worksrcpath}/IO/HDF/Makefile.PL \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/Lib/FFT/Makefile.PL \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/Lib/GIS/Proj/Makefile.PL \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/Lib/Transform/Proj4/Makefile.PL \
</span> ${worksrcpath}/t/callext.t
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PROJ4_PREFIX@|${prefix}/lib/proj49|" ${worksrcpath}/inc/Alien/Proj4.pm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> reinplace "s|^#!.*|#!${perl5.bin}|" ${worksrcpath}/Perldl2/pdl2
reinplace "s|__WITH_GD__|${enable_gd}|" ${worksrcpath}/perldl.conf
reinplace "s|__WITH_HDF__|${enable_hdf4}|" ${worksrcpath}/perldl.conf
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-pdl/files/patch-proj4-paths.diff b/perl/p5-pdl/files/patch-proj4-paths.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d07972e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-pdl/files/patch-proj4-paths.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- inc/Alien/Proj4.pm.orig 2018-07-12 18:02:03.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ inc/Alien/Proj4.pm 2018-07-12 18:04:21.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,6 +8,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my $find_libs = [ "libproj.$Config{dlext}", "libproj$Config{lib_ext}" ];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my @NEEDED = qw(projects.h proj_api.h);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my @DEFAULT_LIB = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ '@PROJ4_PREFIX@/lib',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '/usr/lib64',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '/usr/local/lib64',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '/lib64',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -17,6 +18,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ split(/ /, $Config{libpth}),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my @DEFAULT_INC = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ '@PROJ4_PREFIX@/include',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '/usr/include',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '/usr/local/include',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $Config{usrinc},
</span></pre><pre style='margin:0'>
</pre>