[125618] trunk/base/src/port1.0/portfetch.tcl
jmr at macports.org
jmr at macports.org
Mon Sep 22 16:02:06 PDT 2014
Revision: 125618
https://trac.macports.org/changeset/125618
Author: jmr at macports.org
Date: 2014-09-22 16:02:06 -0700 (Mon, 22 Sep 2014)
Log Message:
-----------
also update find_svn_path to allow system svn on non-darwin
Modified Paths:
--------------
trunk/base/src/port1.0/portfetch.tcl
Modified: trunk/base/src/port1.0/portfetch.tcl
===================================================================
--- trunk/base/src/port1.0/portfetch.tcl 2014-09-22 22:46:34 UTC (rev 125617)
+++ trunk/base/src/port1.0/portfetch.tcl 2014-09-22 23:02:06 UTC (rev 125618)
@@ -180,7 +180,7 @@
depends_fetch-append bin:cvs:cvs
}
svn {
- if {${os.major} >= 10 || ${os.platform} != "darwin"} {
+ if {${os.major} >= 10 || ${os.platform} ne "darwin"} {
depends_fetch-append bin:svn:subversion
} else {
depends_fetch-append port:subversion
@@ -199,7 +199,7 @@
proc portfetch::find_svn_path {args} {
global prefix os.platform os.major
# Snow Leopard is the first Mac OS X version to include a recent enough svn (1.6.x) to support the --trust-server-cert option.
- if {${os.platform} == "darwin" && ${os.major} >= 10} {
+ if {${os.major} >= 10 || ${os.platform} ne "darwin"} {
return [findBinary svn $portutil::autoconf::svn_path]
} else {
return ${prefix}/bin/svn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140922/e26c1345/attachment.html>
More information about the macports-changes
mailing list