summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-04-27 22:39:43 +0000
committerkientzle <kientzle@FreeBSD.org>2009-04-27 22:39:43 +0000
commitcbe0dc1453bdc61caa70655fb13cac61c8e31246 (patch)
tree27670148c1f52369528b4b8bfe39b5d4fc70b5e5 /lib/libarchive
parent6079771a5e7e34e7e3d096d53e76dee6daa7d982 (diff)
downloadFreeBSD-src-cbe0dc1453bdc61caa70655fb13cac61c8e31246.zip
FreeBSD-src-cbe0dc1453bdc61caa70655fb13cac61c8e31246.tar.gz
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.
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index c9160d5..e1ef6ea 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
OpenPOWER on IntegriCloud