Force "USE_SSP" to "no" when compiling xauth(1) for now. This avoid the

program to fail with error messages like this one:

/usr/X11R7/bin/xauth:  file /home/tron/.Xauthority does not exist
/usr/X11R7/bin/xauth:  unable to link authority file /home/tron/.Xauthority, use /home/tron/.Xauthority

This seems to be some weird compiler bug. If you add a debug printf(3) call
before the line in "xsrc/external/mit/xauth/dist/process.c" that calls
link(2) the target and source filename have the correct value and
the call works. Without the printf(3) call it fails.
This commit is contained in:
tron 2014-04-05 17:01:55 +00:00
parent 802f624689
commit eeaeb54957

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2014/03/17 09:24:11 mrg Exp $
# $NetBSD: Makefile,v 1.4 2014/04/05 17:01:55 tron Exp $
.include <bsd.own.mk>
@ -14,5 +14,9 @@ DPADD+= ${LIBXAU} ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
.PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/man
.include <bsd.own.mk>
USE_SSP:= no
.include <bsd.x11.mk>
.include <bsd.prog.mk>