summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-08-23 09:39:20 +0000
committerkris <kris@FreeBSD.org>2000-08-23 09:39:20 +0000
commitaba57a02e85fdc43b0afab2cd3dc4b2c1f6ce808 (patch)
tree6beaa695f3d6ded7ad0f8e2a8274adfdfda89d24 /secure
parent2e6e494673a01f28641a025e69405445a771bd88 (diff)
downloadFreeBSD-src-aba57a02e85fdc43b0afab2cd3dc4b2c1f6ce808.zip
FreeBSD-src-aba57a02e85fdc43b0afab2cd3dc4b2c1f6ce808.tar.gz
Respect X11BASE to derive the location of xauth(1)
PR: 17818 Submitted by: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
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 2c7f18a..91900bf 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}
OpenPOWER on IntegriCloud