Skip to content
Permalink
Browse files

Fix os.major number for git port use

  • Loading branch information
ryandesign committed Mar 8, 2018
1 parent 78990c5 commit e6eedb05ddaed92f7fb5f3eea4e2cf9a6437b6e6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/port1.0/portfetch.tcl
@@ -190,7 +190,7 @@ proc portfetch::set_fetch_type {option action args} {
}
git {
# Mavericks is the first OS X version whose git supports modern TLS cipher suites.
if {${os.major} >= 12 || ${os.platform} ne "darwin"} {
if {${os.major} >= 13 || ${os.platform} ne "darwin"} {
depends_fetch-append bin:git:git
} else {
depends_fetch-append port:git
@@ -216,7 +216,7 @@ proc portfetch::find_svn_path {args} {
proc portfetch::find_git_path {args} {
global prefix os.platform os.major
# Mavericks is the first OS X version whose git supports modern TLS cipher suites.
if {${os.major} >= 12 || ${os.platform} ne "darwin"} {
if {${os.major} >= 13 || ${os.platform} ne "darwin"} {
return [findBinary git $portutil::autoconf::git_path]
} else {
return ${prefix}/bin/git

0 comments on commit e6eedb0

Please sign in to comment.
You can’t perform that action at this time.