Enable LZMA supprt with tar(1)

This commit is contained in:
Antoine Leca 2012-02-23 00:35:10 +01:00 committed by Ben Gras
parent 0c11190cdc
commit c662389d25
3 changed files with 6 additions and 6 deletions

View file

@ -11,8 +11,8 @@ SRCS= bsdtar.c \
write.c
.include "${.CURDIR}/libarchive_fe/Makefile.inc"
DPADD+= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2}
LDADD+= -larchive -lbz2 -lz
DPADD+= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} ${LIBLZMA}
LDADD+= -larchive -lbz2 -lz -llzma
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/libarchive_fe

View file

@ -232,7 +232,7 @@
/* #undef HAVE_LIBEXPAT */
/* Define to 1 if you have the `lzma' library (-llzma). */
/* #undef HAVE_LIBLZMA */
#define HAVE_LIBLZMA 1
/* Define to 1 if you have the `lzmadec' library (-llzmadec). */
/* #undef HAVE_LIBLZMADEC */
@ -284,7 +284,7 @@
/* #undef HAVE_LZMADEC_H */
/* Define to 1 if you have the <lzma.h> header file. */
/* #undef HAVE_LZMA_H */
#define HAVE_LZMA_H 1
/* Define to 1 if you have the `MD5Init' function. */
/* #undef HAVE_MD5INIT */

View file

@ -232,7 +232,7 @@
/* #undef HAVE_LIBEXPAT */
/* Define to 1 if you have the `lzma' library (-llzma). */
/* #undef HAVE_LIBLZMA */
#define HAVE_LIBLZMA 1
/* Define to 1 if you have the `lzmadec' library (-llzmadec). */
/* #undef HAVE_LIBLZMADEC */
@ -284,7 +284,7 @@
/* #undef HAVE_LZMADEC_H */
/* Define to 1 if you have the <lzma.h> header file. */
/* #undef HAVE_LZMA_H */
#define HAVE_LZMA_H 1
/* Define to 1 if you have the `MD5Init' function. */
/* #undef HAVE_MD5INIT */