diff options
Diffstat (limited to 'net-misc/rsync/rsync-3.2.7-r1.ebuild')
-rw-r--r-- | net-misc/rsync/rsync-3.2.7-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-misc/rsync/rsync-3.2.7-r1.ebuild b/net-misc/rsync/rsync-3.2.7-r1.ebuild index bbb1e1b44e26..6c31cf7b857f 100644 --- a/net-misc/rsync/rsync-3.2.7-r1.ebuild +++ b/net-misc/rsync/rsync-3.2.7-r1.ebuild @@ -96,6 +96,13 @@ src_prepare() { if use examples || use rrsync; then python_fix_shebang support/ fi + + if [[ -f rrsync.1 ]]; then + # If the pre-build rrsync.1 man page exists, then link to it + # from support/rrsync.1 to avoid rsync's build system attempting + # re-creating the man page (bug #883049). + ln -s ../rrsync.1 support/rrsync.1 || die + fi } src_configure() { |