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 write.c
.include "${.CURDIR}/libarchive_fe/Makefile.inc" .include "${.CURDIR}/libarchive_fe/Makefile.inc"
DPADD+= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} DPADD+= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} ${LIBLZMA}
LDADD+= -larchive -lbz2 -lz LDADD+= -larchive -lbz2 -lz -llzma
CPPFLAGS+= -DHAVE_CONFIG_H CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/libarchive_fe CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/libarchive_fe

View file

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

View file

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