summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/test
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-05-10 15:28:44 +0000
committermm <mm@FreeBSD.org>2010-05-10 15:28:44 +0000
commit696cb260785255c3d695ac1371cc62921a8b7d39 (patch)
tree746d4e55845e35b6cc113fa5d2a1a4db84ed8204 /usr.bin/tar/test
parent4ca9a130c3852e200cb06a9295498674091e4145 (diff)
downloadFreeBSD-src-696cb260785255c3d695ac1371cc62921a8b7d39.zip
FreeBSD-src-696cb260785255c3d695ac1371cc62921a8b7d39.tar.gz
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
Diffstat (limited to 'usr.bin/tar/test')
-rw-r--r--usr.bin/tar/test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tar/test/Makefile b/usr.bin/tar/test/Makefile
index 3880be0..9babcfa 100644
--- a/usr.bin/tar/test/Makefile
+++ b/usr.bin/tar/test/Makefile
@@ -34,10 +34,10 @@ CLEANFILES+= list.h
NO_MAN=yes
PROG=bsdtar_test
-DPADD=${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
+DPADD=${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBLZMA}
CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
CFLAGS+= -I..
-LDADD= -larchive -lz -lbz2
+LDADD= -larchive -lz -lbz2 -llzma
CFLAGS+= -static -g -O2 -Wall
CFLAGS+= -I${.OBJDIR}
CFLAGS+= -I${TAR_SRCDIR}
OpenPOWER on IntegriCloud