aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-02-17 13:43:24 +0800
committerobrien <obrien@FreeBSD.org>2000-02-17 13:43:24 +0800
commit753a9e7bad95959da6a4c6e25fbcde2be91e638b (patch)
treebdb5d4d9e7e5d7df28ca47d6b4967d99a7801a48 /net
parent6516359236964cc0c368cf285a6f8f3c2dd94e85 (diff)
downloadfreebsd-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/Makefile3
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