/usr/src/usr/bin/less/Makefile has an absolute path where a variable should be writen. Since the $LINKS line is writen with a absolute-path instead of the normal $BINDIR variable, it causes problems when $BINDIR is on another filesystem. This has caused me problems when Fix: in the 'less' Makefile, do this: LINKS= ${BINDIR}/less ${BINDIR}/more How-To-Repeat: Makesure /usr is on another file system from /root. Change into '/usr/src/usr.bin/less', and run the following make command: "make BINDIR=/root/build_area/usr.bin/ install all clean". That will but 'less' in the '/root/build_area/usr.bin/' directory, and next attempt to make a hardlink that targets /usr/bin/more. Since /root, and /usr live on different filesystems, that is imposible. For example: a make fiel might have: PROG=foo LINKS= $BINDIR/foo $BINDIR/bar The 'less' Makefile has: LINKS= $BINDIR/less /usr/bin/more That is inconsitent with all the other Makefiles in the /usr/src/usr/bin src area that have the $LINK variable in their Makefile.
Responsible Changed From-To: freebsd-bugs->johan I will take care of this when the code-freeze for current is over.
State Changed From-To: open->patched Committed to current. I will MFC after X-mass.
State Changed From-To: patched->closed Committed to -stable