Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 17:00:58 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   src/include/Makefile,v 1.109 is broken
Message-ID:  <20000127170058.A57120@relay.ucb.crimea.ua>

next in thread | raw e-mail | index | archive | help

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii

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
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=p

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

--opJtzjQTFsWo+cga--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000127170058.A57120>