Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 10:05:37 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Xin LI <delphij@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r282808 - head/lib/liblzma
Message-ID:  <20150512080537.GB46991@ivaldir.etoilebsd.net>
In-Reply-To: <201505120542.t4C5gDFX038841@svn.freebsd.org>
References:  <201505120542.t4C5gDFX038841@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--5/uDoXvLw7AC5HRs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> 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.
>  =20
>   Requested by:	bdrewery
>=20
> Modified:
>   head/lib/liblzma/Makefile
>   head/lib/liblzma/Symbol.map
>   head/lib/liblzma/config.h
>=20
> Modified: head/lib/liblzma/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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+=3D	common.c \
>  .PATH: ${LZMADIR}/check
>  SRCS+=3D	check.c \
>  	crc32_table.c \
> -	crc64_table.c
> +	crc64_table.c \
> +	sha256.c
>  .if defined(MACHINE_ARCH) && ${MACHINE_ARCH} =3D=3D "i386"
>  SRCS+=3D	crc32_x86.S \
>  	crc64_x86.S
> @@ -145,7 +146,7 @@ CFLAGS+=3D	-DHAVE_CONFIG_H \
>  		-I${LZMADIR}/simple \
>  		-I${LZMADIR}/../common
> =20
> -LIBADD+=3D	md pthread
> +LIBADD+=3D	pthread

If you are on doing that you should at least modify as well the lzma .pc fi=
le
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

--5/uDoXvLw7AC5HRs
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlVRtFEACgkQ8kTtMUmk6ExEEwCfedNJCCWhciar0QrT0uXRQmip
v9QAoItF3x1H6w+YfBl1PL+5qZVgz5jA
=ROjj
-----END PGP SIGNATURE-----

--5/uDoXvLw7AC5HRs--



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