From 04e8ac36abb285d1391ccb59c9f47360e76ac422 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Mon, 27 Apr 2009 22:39:43 +0000 Subject: [PATCH] Document the liblzma support. Unfortunately, liblzma itself is GPLed, so unlikely to become part of the FreeBSD base system. However, the core lzma compression/decompression code is public domain, so it should be feasible for someone to create a compatible library without the GPL strings. --- lib/libarchive/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index c9160d56638f..e1ef6ea91dd8 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -11,6 +11,9 @@ SHLIB_MAJOR= 4 CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" CFLAGS+= -I${.OBJDIR} +#Uncomment to build with full lzma/xz support via liblzma +#CFLAGS+= -I/usr/local/include -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 +#LDADD+= -L/usr/local/lib -llzma .if ${MK_OPENSSL} != "no" CFLAGS+= -DWITH_OPENSSL