[MacPorts] #62311: portfetch: require external svn on >= Catalina

MacPorts noreply at macports.org
Tue Feb 16 20:44:15 UTC 2021


#62311: portfetch: require external svn on >= Catalina
--------------------+--------------------
 Reporter:  kencu   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  base    |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 there is a /usr/bin/svn on Catalina, but it is only a small forwarding
 binary and is non-functional.

 Some little thing like this works:
 {{{
 diff --git a/src/port1.0/portfetch.tcl b/src/port1.0/portfetch.tcl
 index 5ae89bd5a..bab4c4e25 100644
 --- a/src/port1.0/portfetch.tcl
 +++ b/src/port1.0/portfetch.tcl
 @@ -188,7 +188,8 @@ proc portfetch::set_fetch_type {option action args} {
              }
              svn {
                  # Sierra is the first macOS version whose svn supports
 modern TLS cipher suites.
 -                if {${os.major} >= 16 || ${os.platform} ne "darwin"} {
 +                # Catalina's svn exists but is non-functional and hands
 off to another svn
 +                if {(${os.major} >= 16 && ${os.major} <= 18) ||
 ${os.platform} ne "darwin"} {
                      depends_fetch-append bin:svn:subversion
                  } else {
                      depends_fetch-append port:subversion
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62311>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list