Ticket #42189: git-perl.diff

File git-perl.diff, 1.3 KB (added by jmroot (Joshua Root), 11 years ago)
  • Portfile

     
    3333                    port:expat \
    3434                    port:libiconv
    3535
    36 if {[variant_isset perl5_16]} {
    37     set perl_version 5.16
     36if {[variant_isset perl5_18]} {
     37    set perl_version 5.18
    3838} elseif {[variant_isset perl5_14]} {
    3939    set perl_version 5.14
     40} elseif {[variant_isset perl5_12]} {
     41    set perl_version 5.12
    4042} else {
    41     set perl_version 5.12
    42     default_variants +perl5_12
     43    set perl_version 5.16
     44    default_variants +perl5_16
    4345}
    4446
    4547
     
    141143    depends_lib-append      port:python27
    142144}
    143145
    144 variant perl5_16 conflicts perl5_14 perl5_12 description {use perl 5.16} {}
    145 variant perl5_14 conflicts perl5_16 perl5_12 description {use perl 5.14} {}
    146 variant perl5_12 conflicts perl5_16 perl5_14 description {use perl 5.12} {}
     146variant perl5_18 conflicts perl5_16 perl5_14 perl5_12 description {use perl 5.18} {}
     147variant perl5_16 conflicts perl5_18 perl5_14 perl5_12 description {use perl 5.16} {}
     148variant perl5_14 conflicts perl5_18 perl5_16 perl5_12 description {use perl 5.14} {}
     149variant perl5_12 conflicts perl5_18 perl5_16 perl5_14 description {use perl 5.12} {}
    147150
    148151variant pcre {
    149152    build.args-append       LIBPCREDIR=${prefix} USE_LIBPCRE=1