24 | | depends_lib port:perl5.12 port:p5.12-locale-gettext \ |
25 | | port:gettext port:libiconv |
| 24 | if {[variant_isset perl5_8]} { |
| 25 | set perl_major 5.8 |
| 26 | } elseif {[variant_isset perl5_10]} { |
| 27 | set perl_major 5.10 |
| 28 | } elseif {[variant_isset perl5_14]} { |
| 29 | set perl_major 5.14 |
| 30 | } else { |
| 31 | set perl_major 5.12 |
| 32 | default_variants +perl5_12 |
| 33 | } |
| 34 | |
| 35 | variant perl5_8 conflicts perl5_10 perl5_12 perl5_14 description { use perl 5.8 instead of perl 5.10, perl 5.12, or perl 5.14} { |
| 36 | } |
| 37 | |
| 38 | variant perl5_10 conflicts perl5_8 perl5_12 perl5_14 description { use perl 5.10 instead of perl 5.8, perl 5.12, or perl 5.14} { |
| 39 | } |
| 40 | |
| 41 | variant perl5_12 conflicts perl5_8 perl5_10 perl5_14 description { use perl 5.12 instead of perl 5.8, perl 5.10, or perl 5.14} { |
| 42 | } |
| 43 | |
| 44 | variant perl5_14 conflicts perl5_8 perl5_10 perl5_12 description { use perl 5.14 instead of perl 5.8, perl 5.10, or perl 5.12} { |
| 45 | } |
| 46 | |
| 47 | depends_lib port:perl${perl_major} port:p${perl_major}-locale-gettext \ |
| 48 | port:gettext port:libiconv |