aboutsummaryrefslogtreecommitdiff
path: root/security/ssh2/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-01-02 19:35:26 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-01-02 19:35:26 +0000
commitcff16e3928514749f01f78399db6e69f46036010 (patch)
tree3be6f66540a91cec4c85907fd98147b235481317 /security/ssh2/Makefile
parent1fa008a4fe05f7618801c9886afdacc60b4afb5f (diff)
downloadports-cff16e3928514749f01f78399db6e69f46036010.tar.gz
ports-cff16e3928514749f01f78399db6e69f46036010.zip
Notes
Diffstat (limited to 'security/ssh2/Makefile')
-rw-r--r--security/ssh2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index d1dfe1689841..1af0638877fd 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -52,8 +52,14 @@ LIB_DEPENDS+= wrap.7:${PORTSDIR}/security/tcp_wrapper
.include <bsd.port.pre.mk>
+# This is necessary for a working ssh-chrootmgr. Added by mic@nethack.at
+#
+.if defined(WITH_STATIC_SFTP)
+CONFIGURE_ARGS+= --enable-static
+.endif
+
.if defined(WITH_X11) || (exists(${X11BASE}/lib/libX11.a) \
- && !defined(WITHOUT_X11))
+ && exists(${X11BASE}/bin/xauth) && !defined(WITHOUT_X11))
USE_XLIB= yes
PLIST_SUB= WITH_X11:=""
.else