aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2013-05-02 05:52:05 +0800
committergjb <gjb@FreeBSD.org>2013-05-02 05:52:05 +0800
commit5ce89be16bc63f759c7d0c49cf80e21ab962fc96 (patch)
treea766d23c467a323576057495c2fa15fc34cec0bb /shells
parente8fb5b9f31d3829b07167bf5b0ee46f28e6fa751 (diff)
downloadfreebsd-ports-gnome-5ce89be16bc63f759c7d0c49cf80e21ab962fc96.tar.gz
freebsd-ports-gnome-5ce89be16bc63f759c7d0c49cf80e21ab962fc96.tar.zst
freebsd-ports-gnome-5ce89be16bc63f759c7d0c49cf80e21ab962fc96.zip
- Work around what I believe is a bug in how binary existence in the base
system are tracked. Without this "fix", /usr/bin/sftp is not recongnized to negate the build dependency of openssh-portable. [1] - Bump PORTREVISION. Discussed with: bdrewery [1]
Diffstat (limited to 'shells')
-rw-r--r--shells/scponly/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile
index d3125c496b1c..0575ae7305b5 100644
--- a/shells/scponly/Makefile
+++ b/shells/scponly/Makefile
@@ -3,6 +3,7 @@
PORTNAME= scponly
PORTVERSION= 4.8.20110526
+PORTREVISION= 1
CATEGORIES= shells security
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-snapshots
@@ -33,8 +34,10 @@ WINSCP_DESC= WinSCP support
.include <bsd.port.options.mk>
+.if(!exists(/usr/bin/sftp))
RUN_DEPENDS+= sftp:${PORTSDIR}/security/openssh-portable
BUILD_DEPENDS+= sftp:${PORTSDIR}/security/openssh-portable
+.endif
.if ${PORT_OPTIONS:MDEFAULT_CHDIR}
CONFIGURE_ARGS+=--with-default-chdir=${SCPONLY_DEFAULT_CHDIR}