Opened 4 years ago

Closed 4 years ago

#62311 closed defect (duplicate)

portfetch: require external svn on >= Catalina

Reported by: kencu (Ken) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: haspatch Cc:
Port:

Description

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

Attachments (1)

portfetch-fix-svn.patch (1.2 KB) - added by kencu (Ken) 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by kencu (Ken)

Attachment: portfetch-fix-svn.patch added

comment:1 Changed 4 years ago by kencu (Ken)

Keywords: haspatch added

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #60854.

Note: See TracTickets for help on using tickets.