Respect X11BASE to derive the location of xauth(1)
PR: 17818 Submitted by: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
This commit is contained in:
parent
ec81f5f05a
commit
4d858ef441
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65020
@ -58,7 +58,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
||||
#include "version.h"
|
||||
|
||||
/* Define this to be the path of the xauth program. */
|
||||
#ifndef XAUTH_PATH
|
||||
#define XAUTH_PATH "/usr/X11R6/bin/xauth"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define this to use pipes instead of socketpairs for communicating with the
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user