Ticket #43193: patch-devel-git-add-perl-port-group-variants.diff
File patch-devel-git-add-perl-port-group-variants.diff, 2.8 KB (added by pixilla (Bradley Giesbrecht), 10 years ago) |
---|
-
devel/git/Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup perl5 1.0 5 6 7 perl5.branches 5.12 5.14 5.16 5.18 5.20 8 perl5.create_variants ${perl5.branches} 9 6 10 name git 7 11 version 2.1.0 12 revision 1 8 13 description A fast version control system 9 14 long_description Git is a fast, scalable, distributed open source version \ 10 15 control system focusing on speed and efficiency. … … 27 32 28 33 depends_run port:rsync 29 34 30 depends_lib 35 depends_lib-append port:curl \ 31 36 port:zlib \ 32 37 port:openssl \ 33 38 port:expat \ 34 39 port:libiconv 35 40 36 if {[variant_isset perl5_12]} { 37 set perl_version 5.12 38 } elseif {[variant_isset perl5_14]} { 39 set perl_version 5.14 40 } else { 41 set perl_version 5.16 42 default_variants +perl5_16 43 } 41 depends_run-append port:p${perl5.major}-authen-sasl \ 42 port:p${perl5.major}-error \ 43 port:p${perl5.major}-net-smtp-ssl \ 44 port:p${perl5.major}-term-readkey 44 45 45 46 depends_run-append port:p${perl_version}-authen-sasl \47 port:p${perl_version}-error \48 port:p${perl_version}-net-smtp-ssl \49 port:p${perl_version}-term-readkey50 51 depends_lib-append port:perl${perl_version}52 53 46 patchfiles patch-Makefile.diff git-subtree.1.diff 54 47 patch.pre_args -p1 55 48 … … 70 63 CURLDIR=${prefix} \ 71 64 OPENSSLDIR=${prefix} \ 72 65 ICONVDIR=${prefix} \ 73 PERL_PATH="${prefix}/bin/perl${perl _version}" \66 PERL_PATH="${prefix}/bin/perl${perl5.major}" \ 74 67 NO_FINK=1 \ 75 68 NO_DARWIN_PORTS=1 \ 76 69 NO_R_TO_GCC_LINKER=1 \ … … 147 140 depends_lib-append port:python27 148 141 } 149 142 150 variant perl5_16 conflicts perl5_14 perl5_12 description {use perl 5.16} {}151 variant perl5_14 conflicts perl5_16 perl5_12 description {use perl 5.14} {}152 variant perl5_12 conflicts perl5_16 perl5_14 description {use perl 5.12} {}153 154 143 variant pcre { 155 144 build.args-append LIBPCREDIR=${prefix} USE_LIBPCRE=1 156 145 depends_lib-append port:pcre … … 206 195 207 196 variant svn description {Bi-directional subversion repository support} { 208 197 depends_run-append port:subversion \ 209 port:p${perl _version}-libwww-perl \210 port:p${perl _version}-svn-simple198 port:p${perl5.major}-libwww-perl \ 199 port:p${perl5.major}-svn-simple 211 200 } 212 201 213 202 variant bash_completion {