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
pgpI5sJ5qiIOc.pgp
Description: PGP signature