summaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-05-10 15:28:44 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-05-10 15:28:44 +0000
commit7fbeb03eb72a5edef7a85627a0603eebdfa64e54 (patch)
tree746d4e55845e35b6cc113fa5d2a1a4db84ed8204 /rescue
parentc3fd23a2dc634b283599bb1179b25e87f146dda0 (diff)
downloadsrc-test2-7fbeb03eb72a5edef7a85627a0603eebdfa64e54.tar.gz
src-test2-7fbeb03eb72a5edef7a85627a0603eebdfa64e54.zip
Enable liblzma support in libarchive
Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system Approved by: kientzle, delphij (mentor) MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=207849
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index afb15b09404a..d62b6f45cec7 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -208,6 +208,10 @@ CRUNCH_PROGS_usr.bin+= bzip2
CRUNCH_ALIAS_bzip2= bunzip2 bzcat
CRUNCH_LIBS+= -lbz2
+CRUNCH_PROGS_usr.bin+= xz
+CRUNCH_ALIAS_xz= unxz lzma unlzma xzcat lzcat
+CRUNCH_LIBS+= -llzma
+
CRUNCH_PROGS_usr.bin+= tar
CRUNCH_LIBS+= -larchive -lmd
.if ${MK_OPENSSL} != "no"