Ticket #34570: patch-Portfile.diff
File patch-Portfile.diff, 2.5 KB (added by BjarneDMat, 12 years ago) |
---|
-
lang/perl5/Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name perl5 7 version 5.12. 38 revision 17 version 5.12.4 8 revision 2 9 9 categories lang 10 10 license BSD 11 11 platforms darwin freebsd linux … … 21 21 use_configure no 22 22 build {} 23 23 24 set branch "" 25 24 26 if {[variant_isset perl5_8]} { 25 27 set branch 5.8 26 28 } elseif {[variant_isset perl5_10]} { 27 29 set branch 5.10 28 30 } elseif {[variant_isset perl5_14]} { 29 31 set branch 5.14 32 } elseif {[variant_isset perl5_16]} { 33 set branch 5.16 30 34 } else { 31 35 set branch 5.12 32 36 default_variants +perl5_12 … … 77 81 } 78 82 } 79 83 80 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} { 81 depends_lib-append port:perl5.8 84 variant perl5_8 \ 85 conflicts perl5_10 perl5_12 perl5_14 perl5_16 \ 86 description { use perl 5.8 instead of perl 5.10, perl 5.12, perl 5.14, or perl 5.16} { 87 depends_lib-append port:perl5.8 82 88 } 83 89 84 variant perl5_10 conflicts perl5_8 perl5_12 perl5_14 description { use perl 5.10 instead of perl 5.8, perl 5.12, perl 5.14} { 85 depends_lib-append port:perl5.10 90 variant perl5_10 \ 91 conflicts perl5_8 perl5_12 perl5_14 perl5_16 \ 92 description { use perl 5.10 instead of perl 5.8, perl 5.12, perl 5.14, or perl 5.16} { 93 depends_lib-append port:perl5.10 86 94 } 87 95 88 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} { 89 depends_lib-append port:perl5.12 96 variant perl5_12 \ 97 conflicts perl5_8 perl5_10 perl5_14 perl5_16 \ 98 description { use perl 5.12 instead of perl 5.8, perl 5.10, perl 5.14, or perl 5.16} { 99 depends_lib-append port:perl5.12 90 100 } 91 101 92 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} { 93 depends_lib-append port:perl5.14 102 variant perl5_14 \ 103 conflicts perl5_8 perl5_10 perl5_12 perl5_16 \ 104 description { use perl 5.14 instead of perl 5.8, perl 5.10, perl 5.12, or perl 5.16} { 105 depends_lib-append port:perl5.14 94 106 } 95 107 108 variant perl5_16 \ 109 conflicts perl5_8 perl5_10 perl5_12 perl5_14 \ 110 description { use perl 5.16 instead of perl 5.8, perl 5.10, perl 5.12, or perl 5.14} { 111 depends_lib-append port:perl5.16 112 } 96 113 livecheck.type none