Just experienced on 4.0-RELEASE and 4.1-STABLE (two days ago) following 
error when tried to build current world.

===> secure/usr.bin/scp
cc -O -pipe -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include -c 
cc -O -pipe -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include  -o scp scp.o  -lcrypto 
-lutil -lz -L/usr/obj/usr/src/secure/usr.bin/scp/../../lib/libssh -lssh
gzip -cn /usr/src/secure/usr.bin/scp/../../../crypto/openssh/scp.1 > scp.1.gz
===> secure/usr.bin/ssh
cc -O -pipe -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include 
-DXAUTH_PATH=/usr/X11R6/bin/xauth -c 
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c: In function `x11_get_proto':
/usr/src/secure/usr.bin/ssh/../../../crypto/openssh/ssh.c:685: syntax error before `/'
*** Error code 1

Following patch fixed this for me:

Index: Makefile
RCS file: /home/ncvs/src/secure/usr.bin/ssh/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    2000/08/23 09:39:20     1.8
+++ Makefile    2000/08/26 10:17:10
@@ -37,7 +37,7 @@
 .include <bsd.prog.mk>
 .if defined(X11BASE)
-CFLAGS+= -DXAUTH_PATH=${X11BASE}/bin/xauth
+CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
 LDADD+=        -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz

/* Alexey Zelkin               && [EMAIL PROTECTED]       */
/* Tavric National University  && [EMAIL PROTECTED]    */
/* Sysadmin/Developer          && [EMAIL PROTECTED] */

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to