Bug 14085

Summary: Some includes weren't being force-linked.
Product: Base System Reporter: joe <joe>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description joe 1999-10-02 10:30:00 UTC
	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.

Fix: Any reason why we can't apply this patch?
Comment 1 Sheldon Hearn 1999-10-04 11:21:14 UTC
On Sat, 02 Oct 1999 10:21:19 +0100, joe@FreeBSD.org.uk wrote:

>  .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

Are you sure this is necessary, given the ``rm -rf''?

Ciao,
Sheldon.
Comment 2 joe 1999-10-04 11:46:47 UTC
On Mon, Oct 04, 1999 at 12:21:14PM +0200, Sheldon Hearn wrote:
> 
> 
> On Sat, 02 Oct 1999 10:21:19 +0100, joe@FreeBSD.org.uk wrote:
> 
> >  .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
> 
> Are you sure this is necessary, given the ``rm -rf''?
> 

Probably not - it was a late late late night.  Let me check :)

Joe
-- 
Josef Karthauser	FreeBSD: How many times have you booted today?
Technical Manager	Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk]
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 1999-10-05 08:39:14 UTC
State Changed
From-To: open->closed

Files are ``rm -rf''d first. Not a problem. :-)