Subject: Re: bin/24020: install in src/x11/bin/ssh-askpass fails if using
To: None <,,>
From: Havard Eidnes <>
List: netbsd-bugs
Date: 07/30/2007 18:15:07
The following reply was made to PR toolchain/24020; it has been noted by GNATS.

From: Havard Eidnes <>
Subject: Re: bin/24020: install in src/x11/bin/ssh-askpass fails if using
 -j N
Date: Mon, 30 Jul 2007 20:10:45 +0200 (CEST)

 a colleague and myself toyed around a bit with this, and didn't
 really understand why all that complicated renaming back and forth
 is necessary at all, especially since it doesn't really work...
 So, I think that by simplifying the Makefile we managed to make this
 finally work robustly, and the diff is
 Index: Makefile
 RCS file: /cvsroot/src/x11/bin/ssh-askpass/Makefile,v
 retrieving revision 1.4
 diff -u -r1.4 Makefile
 --- Makefile	29 Jan 2004 01:00:42 -0000	1.4
 +++ Makefile	30 Jul 2007 17:20:09 -0000
 @@ -9,22 +9,10 @@
  FILESDIR=	${X11ROOTDIR}/share/examples/ssh-askpass
  FILES= \
 -# XXX:	We use the following two lines instead of just having
 -# XXX:		FILES+=
 -# XXX:	because of an obscure bug with "make -j" where it doesn't find
 -# XXX: in the .PATH correctly, probably because
 -# XXX:	of the rule created for it from BUILDSYMLINKS by <>.
 -# XXX:	This is not the correct long-term solution.
 + \
  DPSRCS+=	SshAskpass_ad.h
 In the .PATHed in source directory, is already a
 symlink to  One may then simply install directly instead of doing that complicated
 On our test system (4-cpu i386) doing "make install -j 5" now works
 fine where it didn't before.
 No file or symlink appears to be created under $DESTDIR by the
 handling of the BUILDSYMLINKS variable, so we just removed that as
 well.  However, that should be OK because the set lists don't
 mention it either -- a distribution + sets build now completes
 It would however be nice to know if applying the above patch fixes
 the problem for others as well.
 - Havard