Skip to content

Commit

Permalink
add -l option to rsync_options.
Browse files Browse the repository at this point in the history
For plain rsync-updating of base, not handling symlinks will skip them
and thus lead to compile errors when building base's internal TCL
version - which is symlinked to vendor/tcl.

This is not needed for the new and preferred tarball mechanism.

Fixes: https://trac.macports.org/ticket/53414

(cherry picked from commit ff4f043)
(cherry picked from commit b5daf1a)
  • Loading branch information
Ionic authored and jmroot committed Feb 17, 2017
1 parent dce55c6 commit 8dfd82d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/macports.conf.5.txt
Expand Up @@ -160,7 +160,7 @@ rsync_dir::

rsync_options::
Default rsync options to use when connecting to the rsync server.
*Default:*;; -rtzv --delete-after
*Default:*;; -rtzvl --delete-after

binpath::
Sets the directory search path for locating system executables used by
Expand Down
2 changes: 1 addition & 1 deletion doc/macports.conf.in
Expand Up @@ -117,7 +117,7 @@ universal_archs @UNIVERSAL_ARCHS@
#rsync_dir macports/release/tarballs/base.tar

# Options to pass to rsync when fetching MacPorts base and the ports tree.
#rsync_options -rtzv --delete-after
#rsync_options -rtzvl --delete-after

# Type of generated StartupItems.
# - launchd: Create StartupItems for use with launchd.
Expand Down
2 changes: 1 addition & 1 deletion src/macports1.0/macports.tcl
Expand Up @@ -923,7 +923,7 @@ proc mportinit {{up_ui_options {}} {up_options {}} {up_variations {}}} {
}
if {![info exists rsync_options]} {
global macports::rsync_options
set rsync_options "-rtzv --delete-after"
set rsync_options "-rtzvl --delete-after"
}

set portsharepath ${prefix}/share/macports
Expand Down
2 changes: 1 addition & 1 deletion tests/test-macports.conf
Expand Up @@ -36,7 +36,7 @@ rsync_server rsync.macports.org
rsync_dir macports/release/base/

# Rsync options
rsync_options -rtzv --delete-after
rsync_options -rtzvl --delete-after

# Options for generated startup items
# startupitem_type may be "default", "systemstarter", or "launchd";
Expand Down

0 comments on commit 8dfd82d

Please sign in to comment.