summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/scponly/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile
index 4ba26237310a..ee5641c56b12 100644
--- a/shells/scponly/Makefile
+++ b/shells/scponly/Makefile
@@ -84,7 +84,9 @@ CONFIGURE_ARGS+=--enable-winscp-compat
CONFIGURE_ARGS+=--disable-winscp-compat
.endif
-.if defined(WITH_SCPONLY_RSYNC) && exists(${LOCALBASE}/bin/rsync)
+.if defined(WITH_SCPONLY_RSYNC)
+BUILD_DEPENDS= rsync:${PORTSDIR}/net/rsync
+RUN_DEPENDS= ${BUILD_DEPENDS}
CONFIGURE_ARGS+=--enable-rsync-compat
.else
CONFIGURE_ARGS+=--disable-rsync-compat