svn commit: r191604 - head/lib/libarchive

Tim Kientzle kientzle at FreeBSD.org
Mon Apr 27 22:39:44 UTC 2009


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


More information about the svn-src-head mailing list