Upgrade broken by getopt_long_only()

Ruslan Ermilov ru at freebsd.org
Fri Mar 19 22:16:53 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040320/65b18d74/attachment.bin


More information about the freebsd-current mailing list