diff options
author | obrien <obrien@FreeBSD.org> | 2000-02-17 13:43:24 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-02-17 13:43:24 +0800 |
commit | 753a9e7bad95959da6a4c6e25fbcde2be91e638b (patch) | |
tree | bdb5d4d9e7e5d7df28ca47d6b4967d99a7801a48 /net | |
parent | 6516359236964cc0c368cf285a6f8f3c2dd94e85 (diff) | |
download | freebsd-ports-gnome-753a9e7bad95959da6a4c6e25fbcde2be91e638b.tar.gz freebsd-ports-gnome-753a9e7bad95959da6a4c6e25fbcde2be91e638b.tar.zst freebsd-ports-gnome-753a9e7bad95959da6a4c6e25fbcde2be91e638b.zip |
If either USE_SSH or WITH_SSH is defined, compile in `ssh' rather than `rsh'.
Diffstat (limited to 'net')
-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 |