aboutsummaryrefslogtreecommitdiff
path: root/secure
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-08-23 09:39:20 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-08-23 09:39:20 +0000
commit4d858ef441c704bb2b4694d69234f8e54b1212bb (patch)
treea77d4a9ae108510d6981e7c846dfba6dd5727427 /secure
parentec81f5f05ac4f053d08b17f5d791b7c87d181642 (diff)
downloadsrc-4d858ef441c704bb2b4694d69234f8e54b1212bb.tar.gz
src-4d858ef441c704bb2b4694d69234f8e54b1212bb.zip
Respect X11BASE to derive the location of xauth(1)
PR: 17818 Submitted by: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
Notes
Notes: svn path=/head/; revision=65020
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.bin/ssh/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile
index 2c7f18a72a10..91900bf4ae5c 100644
--- a/secure/usr.bin/ssh/Makefile
+++ b/secure/usr.bin/ssh/Makefile
@@ -36,5 +36,9 @@ DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD} ${LIBCRYPT}
.include <bsd.prog.mk>
+.if defined(X11BASE)
+CFLAGS+= -DXAUTH_PATH=${X11BASE}/bin/xauth
+.endif
+
LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz
DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}