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
Ruslan Ermilov
ru at freebsd.org
Wed May 12 13:23:52 UTC 2010
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 at FreeBSD.org
FreeBSD committer
More information about the svn-src-all
mailing list