Re: svn commit: r207849 - in head: . lib/libarchive rescue/rescue usr.bin/ar usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test

[ Available lists | Index of svn-src-all | Month of May 2010 | Week of 12 May 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Ruslan Ermilov <ru@freebsd.org>
Date
12 May 2010 13:23:52
Subject
Re: svn commit: r207849 - in head: . lib/libarchive rescue/rescue usr.bin/ar usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test
Message-ID
20100512132330.GA92013@edoofus.dev.vega.ru


[ Hide this part ]
On Tue, May 11, 2010 at 04:22:02PM -0700, Xin LI wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Please try this patch:
>
> http://people.freebsd.org/~delphij/for_review/patch-lzmabuild.diff
>
> I'm not quite satisfied with this patch though.
>
> The problem was:
>
> - ar, libarchive now unconditionally depends on LZMA library;
> - When building on old system, /usr/lib/liblzma.a would not exist;
> - ar is bootstrap tool and thus will be built in BMAKE stage;
> - The build fails here since no liblzma is pre-built.

How about bootstrapping liblzma instead? NB: Completely untested.

%%%
Index: Makefile.inc1
===================================================================
--- Makefile.inc1 (revision 207959)
+++ Makefile.inc1 (working copy)
@@ -931,7 +931,7 @@
.endif

.if ${BOOTSTRAPPING} >= 700044 && ${BOOTSTRAPPING} < 800022
-_ar= usr.bin/ar
+_ar= lib/liblzma usr.bin/ar
.endif

.if ${BOOTSTRAPPING} < 800013
%%%


Cheers,
--
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer


Elapsed time: 1.234 seconds