The latest src/include/Makefile,v 1.109 is broken. You will see what is spammed by executing the following: cd /usr/src/include; make symlinks copies DESTDIR=/FOO There should be no symlinked dirs in /FOO/usr/include after that, but... The idea was that `copies' should first undo all the things `symlinks' did, but it is broken now. An attached patch seems to fix the problem. -- Ruslan Ermilov Sysadmin and DBA of the [EMAIL PROTECTED] United Commercial Bank, [EMAIL PROTECTED] FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
Index: src/include/Makefile =================================================================== RCS file: /usr/FreeBSD-CVS/src/include/Makefile,v retrieving revision 1.109 diff -u -p -r1.109 Makefile --- Makefile 2000/01/26 17:38:51 1.109 +++ Makefile 2000/01/27 14:51:05 @@ -96,10 +96,13 @@ beforeinstall: ${SHARED} .endfor copies: -.for i in ${LDIRS} ${LNOHEADERDIRS} machine +.for i in ${LDIRS} ${LSYMSUBDIRS} machine if [ -h ${DESTDIR}/usr/include/$i ]; then \ rm -f ${DESTDIR}/usr/include/$i; \ fi +.endfor +.for i in ${LNOHEADERDIRS} + rm -rf ${DESTDIR}/usr/include/$i .endfor mtree -deU -f ${.CURDIR}/../etc/mtree/BSD.include.dist \ -p ${DESTDIR}/usr/include