Remove WITHOUT_BZIP2, WITHOUT_BZIP2_SUPPORT

WITHOUT_BZIP2_SUPPORT only affects a single binary, gzip(1); it doesn't
remove bzip2 support from other bits (e.g., libarchive) and there are
no similar options for gzip, xz or zstd.

WITHOUT_BZIP2 has not done anything at all since it was first added
in 2007.

MFC after:	never
Discussed on:	arch@
Reviewed by:	imp, des, adrian, delphij, emaste
Differential Revision:	https://reviews.freebsd.org/D56148
Sponsored by:		https://www.patreon.com/bsdivy
This commit is contained in:
Lexi Winter
2026-04-03 14:50:09 +01:00
parent b13d7062b3
commit ab9257599a
5 changed files with 2 additions and 30 deletions
+1 -7
View File
@@ -5,13 +5,7 @@
PROG= gzip
MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zmore.1 znew.1
LIBADD= z lzma zstd
.if ${MK_BZIP2_SUPPORT} != "no"
LIBADD+= bz2
.else
CFLAGS+= -DNO_BZIP2_SUPPORT
.endif
LIBADD= bz2 lzma z zstd
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib