diff options
author | Ed Maste <emaste@FreeBSD.org> | 2025-02-09 20:37:24 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2025-02-10 16:22:42 +0000 |
commit | a63701848fe5462c4e8bbff0131bb42979e603ec (patch) | |
tree | 785871083f4603d4dae8c914c5b30653f6264a88 /secure | |
parent | 0fd31cf690328558b8a12ff65397438efc345932 (diff) |
Diffstat (limited to 'secure')
-rw-r--r-- | secure/ssh.mk | 2 | ||||
-rw-r--r-- | secure/usr.bin/ssh/Makefile | 4 | ||||
-rw-r--r-- | secure/usr.sbin/sshd/Makefile | 3 |
3 files changed, 2 insertions, 7 deletions
diff --git a/secure/ssh.mk b/secure/ssh.mk index 9ee533c10eca..c331e40c16f8 100644 --- a/secure/ssh.mk +++ b/secure/ssh.mk @@ -7,6 +7,8 @@ SSHDIR= ${SRCTOP}/crypto/openssh CFLAGS+= -I${SSHDIR} -include ssh_namespace.h SRCS+= ssh_namespace.h +CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE:U/usr/local}/bin/xauth\" + .if ${MK_USB} != "no" # Built-in security key support CFLAGS+= -include sk_config.h diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile index 7c3eb68ea083..9bff63f29395 100644 --- a/secure/usr.bin/ssh/Makefile +++ b/secure/usr.bin/ssh/Makefile @@ -29,10 +29,6 @@ LIBADD+= gssapi LIBADD+= crypto -.if defined(LOCALBASE) -CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" -.endif - .include <bsd.prog.mk> .PATH: ${SSHDIR} diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile index 323fe4b8c99f..2762d4151009 100644 --- a/secure/usr.sbin/sshd/Makefile +++ b/secure/usr.sbin/sshd/Makefile @@ -62,9 +62,6 @@ LIBADD+= wrap LIBADD+= crypto -.if defined(LOCALBASE) -CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" -.endif .include <bsd.prog.mk> |