Re: Upgrade broken by getopt_long_only()

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Sat, 20 Mar 2004 08:16:46 +0200
On Sat, Mar 20, 2004 at 02:32:16PM +1100, Peter Jeremy wrote:
> On Fri, Mar 19, 2004 at 09:45:22AM +0200, Ruslan Ermilov wrote:
> >P.S.  I wonder how people manage to screw up their <osreldate.h> so
> >often...  :-(
> 
> I have a nasty feeling that one of build{world,kernel} or
> install{world,kernel} with DESTDIR != '/' manages to update the
> /usr/include/osreldate.h - at least sometimes.  I have had
> <osreldate.h> on a -stable system turn into a 5.x version after using
> the system to build -CURRENT and install it on a different slice.
> 
Very unlikely.  osreldate.h is just part of INCS in src/include/Makefile,
and as such it simply gets installed to ${DESTDIR}${INCSDIR} ==
${DESTDIR}${INCLUDEDIR} == ${DESTDIR}/usr/include.  Or you'd have lot of
headers "upgraded" if you attempted installworld and misspelled DESTDIR.


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru_at_FreeBSD.org

Received on Fri Mar 19 2004 - 21:16:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC