Ticket #40828: patch-p5-pdl-2.7.0.diff

File patch-p5-pdl-2.7.0.diff, 4.0 KB (added by mvgrimes, 11 years ago)
  • perl/p5-pdl/Portfile

    diff --git a/perl/p5-pdl/Portfile b/perl/p5-pdl/Portfile
    index 3751485..91d77e8 100644
    a b  
    44PortSystem          1.0
    55PortGroup           perl5 1.0
    66
     7# Not sure why 5.16 isn't being automatically added, this line ensure it is:
    78perl5.branches      5.8 5.10 5.12 5.14 5.16
    8 perl5.setup         PDL 2.006
     9perl5.setup         PDL 2.007
    910maintainers         saao.ac.za:tim
    1011license             Artistic GPL-2
    1112description         Perl Data Language - scientific computing capability for perl
    platforms darwin 
    1920
    2021homepage            http://pdl.perl.org/
    2122
    22 checksums           rmd160 d95e3fcd0b350a1863c28d331a44a902ae3b44be \
    23                     sha256 78119429cbe9b23387173db9c0e8c39de18a4a8ec757c10d4156fa30979d7ec5
     23checksums           rmd160  8d700ea03cb937ca94768e8a2e7338919f2ba561 \
     24                    sha256  609f6661061e444f2b5de845b2ab927adb9007b6511cf2f08aa0d6df0c62500c
    2425
    2526if {${perl5.major} != ""} {
    2627    depends_lib-append \
    2728                        port:p${perl5.major}-astro-fits-header \
     29                        port:p${perl5.major}-convert-uu \
     30                        port:p${perl5.major}-file-map \
    2831                        port:p${perl5.major}-inline \
     32                        port:p${perl5.major}-module-compile \
     33                        port:p${perl5.major}-test-warn \
    2934                        port:p${perl5.major}-term-readline-gnu \
    3035                        port:p${perl5.major}-extutils-f77 \
    3136                        port:netpbm \
    if {${perl5.major} != ""} { 
    3540                        port:fftw-3 \
    3641                        port:pgplot \
    3742                        port:p${perl5.major}-pgplot \
    38                         port:plplot \
    39                         port:p${perl5.major}-convert-uu \
    40                         port:p${perl5.major}-file-map \
    41                         port:p${perl5.major}-module-compile
     43                        port:plplot
     44
     45                        # In core:
     46                        # port:p${perl5.major}-data-dumper \
     47                        # port:p${perl5.major}-extutils-makemaker \
     48                        # port:p${perl5.major}-file-temp \
     49                        # port:p${perl5.major}-filter-util-call \
     50                        # port:p${perl5.major}-pod-select \
     51                        # port:p${perl5.major}-text-balanced \
    4252
    43                         # Might be needed:
    44                         # port:p${perl5.major}-gd \
    45                         # port:p${perl5.major}-opengl \
     53                        # Depreciated from core in 5.16 but still there in
     54                        # 5.18. Will need macports packages for these at some
     55                        # point:
     56                        # port:p${perl5.major}-filter-simple \
     57                        # port:p${perl5.major}-pod-parser \
    4658
    4759                        # Needed for pdl2, but no MacPort package available
    4860                        # and the dependency chain is very long
    4961                        # port:p${perl5.major}-devel-repl \
    5062
    51                         # proj 4.7 might not be needed anymore
    52                         # https://trac.macports.org/ticket/35292
    53                         # port:proj47  \
    54 
    5563    # Prereqs in Makefile.PL:
    5664    # 'Astro::FITS::Header' => 0,
    5765    # 'Convert::UU'         => 0,
    if {${perl5.major} != ""} { 
    6876    # 'Pod::Select'         => 0,           # core in 5.6.0
    6977    # 'Storable'            => 1.03,        # core 2.04 in 5.8.0
    7078    # 'Text::Balanced'      => 1.89,        # core 1.89 in 5.7.3
     79    # 'Test::Warn'          => 0,
    7180
    7281
    7382    # pgplot is not universal
    if {${perl5.major} != ""} { 
    8291            ${worksrcpath}/IO/Browser/Makefile.PL \
    8392            ${worksrcpath}/IO/GD/Makefile.PL \
    8493            ${worksrcpath}/IO/HDF/Makefile.PL \
    85             ${worksrcpath}/Lib/FFTW/Makefile.PL \
     94            ${worksrcpath}/Lib/FFT/Makefile.PL \
    8695            ${worksrcpath}/Lib/GIS/Proj/Makefile.PL \
    8796            ${worksrcpath}/Lib/Transform/Proj4/Makefile.PL \
    8897            ${worksrcpath}/t/callext.t