Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 22:39:43 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191604 - head/lib/libarchive
Message-ID:  <200904272239.n3RMdhwU029183@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kientzle
Date: Mon Apr 27 22:39:43 2009
New Revision: 191604
URL: http://svn.freebsd.org/changeset/base/191604

Log:
  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.

Modified:
  head/lib/libarchive/Makefile

Modified: head/lib/libarchive/Makefile
==============================================================================
--- head/lib/libarchive/Makefile	Mon Apr 27 22:06:49 2009	(r191603)
+++ head/lib/libarchive/Makefile	Mon Apr 27 22:39:43 2009	(r191604)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904272239.n3RMdhwU029183>