Ticket #46570: biblatex-biber-perl-variants.diff

File biblatex-biber-perl-variants.diff, 1005 bytes (added by mojca (Mojca Miklavec), 9 years ago)

Use the code from PortGroup to create the variants for biblatex-biber, add Perl 5.22

  • Portfile

     
    1111name            biblatex-biber
    1212epoch           1
    1313
    14 perl5.branches  5.16 5.18 5.20
     14perl5.require_variant   yes
     15perl5.conflict_variants yes
     16perl5.branches          5.16 5.18 5.20 5.22
     17perl5.create_variants   ${perl5.branches}
    1518
    16 variant perl5_16 description "use perl version 5.16" conflicts perl5_18 perl5_20 {}
    17 variant perl5_18 description "use perl version 5.18" conflicts perl5_16 perl5_20 {}
    18 variant perl5_20 description "use perl version 5.20" conflicts perl5_16 perl5_18 {}
    19 if {![variant_isset perl5_18] && ![variant_isset perl5_20]} {
    20     default_variants +perl5_16
    21 }
    22 
    23 if {[variant_isset perl5_16]} { perl5.default_branch 5.16 }
    24 if {[variant_isset perl5_18]} { perl5.default_branch 5.18 }
    25 if {[variant_isset perl5_20]} { perl5.default_branch 5.20 }
    26 
    2719perl5.setup     Biber 2.1
    2820version         ${perl5.moduleversion}
    2921