aboutsummaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio/Makefile
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 /usr.bin/cpio/Makefile
parentc3fd23a2dc634b283599bb1179b25e87f146dda0 (diff)
downloadsrc-7fbeb03eb72a5edef7a85627a0603eebdfa64e54.tar.gz
src-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 'usr.bin/cpio/Makefile')
-rw-r--r--usr.bin/cpio/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cpio/Makefile b/usr.bin/cpio/Makefile
index 80cf1fa55ef6..fe339cd99502 100644
--- a/usr.bin/cpio/Makefile
+++ b/usr.bin/cpio/Makefile
@@ -12,8 +12,8 @@ CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
# statically linked, cannot use -lcrypto, and are size sensitive.
CFLAGS+= -DSMALLER
.endif
-DPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} ${LIBMD}
-LDADD= -larchive -lz -lbz2 -lmd
+DPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} ${LIBMD} ${LIBLZMA}
+LDADD= -larchive -lz -lbz2 -lmd -llzma
.if ${MK_OPENSSL} != "no"
DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto