<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/78990c5ab7a132bedfa9404912e7bfc3c1b9b69f">https://github.com/macports/macports-base/commit/78990c5ab7a132bedfa9404912e7bfc3c1b9b69f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 78990c5 Use MacPorts git port on Mountain Lion and earlier
</span>78990c5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 78990c5ab7a132bedfa9404912e7bfc3c1b9b69f
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Mar 8 02:24:21 2018 -0600
<span style='display:block; white-space:pre;color:#404040;'> Use MacPorts git port on Mountain Lion and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/55989
</span>---
src/port1.0/portfetch.tcl | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portfetch.tcl b/src/port1.0/portfetch.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 3ad8304..c1bddc2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portfetch.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portfetch.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,7 +93,7 @@ default svn.pre_args {"--non-interactive --trust-server-cert"}
</span> default svn.args ""
default svn.post_args ""
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default git.cmd {[findBinary git $portutil::autoconf::git_path]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default git.cmd {[portfetch::find_git_path]}
</span> default git.dir {${workpath}}
default git.branch {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -181,6 +181,7 @@ proc portfetch::set_fetch_type {option action args} {
</span> depends_fetch-append bin:cvs:cvs
}
svn {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Sierra is the first macOS version whose svn supports modern TLS cipher suites.
</span> if {${os.major} >= 16 || ${os.platform} ne "darwin"} {
depends_fetch-append bin:svn:subversion
} else {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -188,7 +189,12 @@ proc portfetch::set_fetch_type {option action args} {
</span> }
}
git {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_fetch-append bin:git:git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Mavericks is the first OS X version whose git supports modern TLS cipher suites.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 12 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_fetch-append bin:git:git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_fetch-append port:git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
hg {
depends_fetch-append bin:hg:mercurial
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -207,6 +213,16 @@ proc portfetch::find_svn_path {args} {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+proc portfetch::find_git_path {args} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global prefix os.platform os.major
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Mavericks is the first OS X version whose git supports modern TLS cipher suites.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 12 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return [findBinary git $portutil::autoconf::git_path]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return ${prefix}/bin/git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set_ui_prefix
</pre><pre style='margin:0'>
</pre>