Date: Sat, 2 Oct 1999 10:21:19 +0100 (BST) From: joe@FreeBSD.org.uk To: FreeBSD-gnats-submit@freebsd.org Subject: i386/14085: Some includes weren't being force-linked. Message-ID: <199910020921.KAA10111@storm.FreeBSD.org.uk>
index | next in thread | raw e-mail
>Number: 14085
>Category: i386
>Synopsis: Some includes weren't being force-linked.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 2 02:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Joe Karthauser
>Release: FreeBSD 3.3-STABLE i386
>Organization:
Pavilion Internet plc/FreeBSD UK
>Environment:
>Description:
Going through the include/Makefile some include files get
installed with an 'ln -sf' and some with an 'ln -s'. In
particular the i386/include files aren't forced. This means
if there's a local copy of a header file we'll never
overwrite it, leading to potential problems. In my case
the problem was caused by a stray i4b_X.h header file that
had got there from a manual install.
>How-To-Repeat:
>Fix:
Any reason why we can't apply this patch?
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/include/Makefile,v
retrieving revision 1.92.2.2
diff -u -r1.92.2.2 Makefile
--- Makefile 1999/08/29 14:38:49 1.92.2.2
+++ Makefile 1999/10/02 09:13:12
@@ -112,9 +112,9 @@
@${ECHO} "Setting up symlinks to kernel source tree..."
.for i in ${LDIRS} ${LNOHEADERDIRS}
rm -rf ${DESTDIR}/usr/include/$i
- ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
+ ln -sf ../../sys/$i ${DESTDIR}/usr/include/$i
.endfor
rm -rf ${DESTDIR}/usr/include/machine
- ln -s ../../sys/${MACHINE_ARCH}/include ${DESTDIR}/usr/include/machine
+ ln -sf ../../sys/${MACHINE_ARCH}/include ${DESTDIR}/usr/include/machine
.include <bsd.prog.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910020921.KAA10111>
