svn commit: r282808 - head/lib/liblzma

Baptiste Daroussin bapt at FreeBSD.org
Tue May 12 08:05:42 UTC 2015


On Tue, May 12, 2015 at 05:42:13AM +0000, Xin LI wrote:
> Author: delphij
> Date: Tue May 12 05:42:13 2015
> New Revision: 282808
> URL: https://svnweb.freebsd.org/changeset/base/282808
> 
> Log:
>   Revert r282775 for now.  The added dependency would cause problems for
>   e.g. ports-mgmt/pkg and we would like to do an exp-build.
>   
>   Requested by:	bdrewery
> 
> Modified:
>   head/lib/liblzma/Makefile
>   head/lib/liblzma/Symbol.map
>   head/lib/liblzma/config.h
> 
> Modified: head/lib/liblzma/Makefile
> ==============================================================================
> --- head/lib/liblzma/Makefile	Tue May 12 03:49:18 2015	(r282807)
> +++ head/lib/liblzma/Makefile	Tue May 12 05:42:13 2015	(r282808)
> @@ -77,7 +77,8 @@ SRCS+=	common.c \
>  .PATH: ${LZMADIR}/check
>  SRCS+=	check.c \
>  	crc32_table.c \
> -	crc64_table.c
> +	crc64_table.c \
> +	sha256.c
>  .if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386"
>  SRCS+=	crc32_x86.S \
>  	crc64_x86.S
> @@ -145,7 +146,7 @@ CFLAGS+=	-DHAVE_CONFIG_H \
>  		-I${LZMADIR}/simple \
>  		-I${LZMADIR}/../common
>  
> -LIBADD+=	md pthread
> +LIBADD+=	pthread

If you are on doing that you should at least modify as well the lzma .pc file
to that anything asking for pkg-config --libs will provide -lmd, should be the
Libs.private field

Also note that this will not solve the pkg case :)

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150512/07c0c087/attachment.sig>


More information about the svn-src-all mailing list