aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/ssh2/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index 9615e72cc9f2..53f0ffdcde51 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -92,10 +92,8 @@ EXTRA_PATCHES+= ${FILESDIR}/kerberos-patch-apps::ssh::ssh2_config \
.endif
.if !defined(WITHOUT_X11)
-.if ${XFREE86_VERSION} == 4
-BUILD_DEPENDS+= ${X11BASE}/bin/xauth:${PORTSDIR}/x11/XFree86-4-clients
-RUN_DEPENDS+= ${X11BASE}/bin/xauth:${PORTSDIR}/x11/XFree86-4-clients
-.endif
+BUILD_DEPENDS+= ${X11BASE}/bin/xauth:${X_CLIENTS_PORT}
+RUN_DEPENDS+= ${X11BASE}/bin/xauth:${X_CLIENTS_PORT}
USE_XLIB= yes
PLIST_SUB+= WITH_X11:=""
.else