Changeset 138704


Ignore:
Timestamp:
Jul 16, 2015, 10:40:24 PM (4 years ago)
Author:
devans@…
Message:

intltool: remove unnecessary perl variants and just use perl 5.22, patch intltool-update to silence perl deprecation warnings, add comments, increment revision (#48365).

Location:
trunk/dports/textproc/intltool
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/intltool

  • trunk/dports/textproc/intltool/Portfile

    r138640 r138704  
    33
    44PortSystem          1.0
    5 PortGroup           perl5 1.0
    65
    76name                intltool
    87epoch               1
    98version             0.51.0
     9revision            1
    1010maintainers         devans openmaintainer
    1111categories          textproc gnome
     
    3131                    sha256  67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
    3232
    33 perl5.require_variant   yes
    34 perl5.conflict_variants yes
    35 perl5.branches          5.16 5.18 5.20 5.22
    36 perl5.create_variants   ${perl5.branches}
     33# intltool only uses perl internally and publishes no public modules
     34# so there is no need for multiple perl variants
     35# now using perl 5.22 (#48365)
     36
     37set pbranch         5.22
    3738
    3839depends_build       port:gnome-common
    3940
    4041depends_lib-append  port:expat \
    41                     port:p${perl5.major}-getopt-long \
    42                     port:p${perl5.major}-pathtools \
    43                     port:p${perl5.major}-scalar-list-utils \
    44                     port:p${perl5.major}-xml-parser
     42                    port:p${pbranch}-getopt-long \
     43                    port:p${pbranch}-pathtools \
     44                    port:p${pbranch}-scalar-list-utils \
     45                    port:p${pbranch}-xml-parser
    4546
    4647patchfiles          patch-remove-intltool-perl-hack.diff
    4748
    48 configure.perl      ${prefix}/bin/perl${perl5.major}
     49# in perl 5.22 literal left braces in regex patterns must be escaped to avoid deprecation warnings
     50# introduced in perl 5.21.3
     51# https://metacpan.org/pod/release/PCM/perl-5.21.3/pod/perl5211delta.pod#A-literal-should-now-be-escaped-in-a-pattern
     52
     53patchfiles-append   patch-silence-perl-5.22-deprecation-warnings.diff
     54
     55configure.perl      ${prefix}/bin/perl${pbranch}
    4956
    5057test.run            yes
Note: See TracChangeset for help on using the changeset viewer.