diff options
| author | Martin Matuska <mm@FreeBSD.org> | 2010-05-10 15:28:44 +0000 |
|---|---|---|
| committer | Martin Matuska <mm@FreeBSD.org> | 2010-05-10 15:28:44 +0000 |
| commit | 7fbeb03eb72a5edef7a85627a0603eebdfa64e54 (patch) | |
| tree | 746d4e55845e35b6cc113fa5d2a1a4db84ed8204 /lib/libarchive/Makefile | |
| parent | c3fd23a2dc634b283599bb1179b25e87f146dda0 (diff) | |
Notes
Diffstat (limited to 'lib/libarchive/Makefile')
| -rw-r--r-- | lib/libarchive/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index 8de8247b64df6..9470190a2e54f 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -2,8 +2,8 @@ .include <bsd.own.mk> LIB= archive -DPADD= ${LIBBZ2} ${LIBZ} ${LIBMD} -LDADD= -lbz2 -lz -lmd +DPADD= ${LIBBZ2} ${LIBZ} ${LIBMD} ${LIBLZMA} +LDADD= -lbz2 -lz -lmd -llzma # FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system. # It has no real relation to the libarchive version number. @@ -11,10 +11,7 @@ SHLIB_MAJOR= 5 CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" CFLAGS+= -I${.OBJDIR} -#Uncomment to build with full lzma/xz support via liblzma -#liblzma is not (yet?) part of the FreeBSD base system -#CFLAGS+= -I/usr/local/include -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 -#LDADD+= -L/usr/local/lib -llzma +CFLAGS+= -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 .if ${MK_OPENSSL} != "no" CFLAGS+= -DWITH_OPENSSL |
