diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-02-17 05:43:24 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-02-17 05:43:24 +0000 |
commit | 754c770a77c81c1c3f4a968ed79b5d94eec0005f (patch) | |
tree | a6ff1cc5e45e22310044eb996aab5b31db8cef03 /net/rsync | |
parent | 66cef146216ce488fccf530688cb6e2d6089805c (diff) | |
download | ports-754c770a77c81c1c3f4a968ed79b5d94eec0005f.tar.gz ports-754c770a77c81c1c3f4a968ed79b5d94eec0005f.zip |
If either USE_SSH or WITH_SSH is defined, compile in `ssh' rather than `rsh'.
Notes
Notes:
svn path=/head/; revision=25918
Diffstat (limited to 'net/rsync')
-rw-r--r-- | net/rsync/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile index 5a4e02802a05..c87b5be02872 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -40,6 +40,9 @@ pre-configure: @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' ${WRKSRC}/rsync.h @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' ${WRKSRC}/rsync.1 @${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' ${WRKSRC}/rsyncd.conf.5 +.if defined(WITH_SSH) || defined(USE_SSH) + @${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h +.endif post-install: @strip ${PREFIX}/bin/rsync |