git: xz: Adjust makefiles for xz-5.2.4 update.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Wed Apr 24 10:17:40 PDT 2019
commit 3ff63cdaea3abd5eece6e57d01a1ab57a4312636
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Sun Apr 14 19:22:06 2019 +0300
xz: Adjust makefiles for xz-5.2.4 update.
Disable multi-threading on liblizma by deafult to prevent libarchive
getting a hard dependency on pthreads. Move whole threading support
directly to usr.bin/xz. This solves static linking and simplifies the
lib/Makefile inter-libs dependencies. This also makes pkg(8) no longer
implicitly depend on pthreads. As bonus, allow crunchgen'ed xz(8)
without multi-threading support. Should be benefitial for initrd/rescue.
Summary of changes:
contrib/xz/README.DELETED | 13 ++++++
contrib/xz/README.DRAGONFLY | 17 +++++---
lib/liblzma/Makefile | 85 +++++++++++++++++-------------------
lib/liblzma/config.h | 59 +++++++++++++++----------
usr.bin/lzmainfo/Makefile | 4 +-
usr.bin/xz/Makefile | 65 ++++++++++++++++++---------
{lib/liblzma => usr.bin/xz}/config.h | 48 ++++++++++++--------
usr.bin/xzdec/Makefile | 4 +-
8 files changed, 181 insertions(+), 114 deletions(-)
copy {lib/liblzma => usr.bin/xz}/config.h (92%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3ff63cdaea3abd5eece6e57d01a1ab57a4312636
--
DragonFly BSD source repository
More information about the Commits
mailing list