aboutsummaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-09-23 22:37:06 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-09-25 02:00:40 +0100
commit9f2493321188f9a980fcbded1b03e58e43884afe (patch)
treee0188f56b6e0e378ac6e1382efb79ffbaa942ee0 /usr.bin
parent846125d003534717be3fb8e076493e487237b394 (diff)
packages: Replace libbz2 package with a bzip2 package
Currently libbz2 is in the libbz2 package, while bzip2 itself is in -utilities, which is inconsistent. Move both the library and the utility to a new -bzip2 package, and use LIB_PACKAGE to create a separate -bzip2-lib package for runtime dependencies. Add the bzip2 package to the minimal set, and since newsyslogd uses bzip2 for logfile compression, add a dependency from there. MFC after: 1 day Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D52663 (cherry picked from commit 61ca69110f2676b7dd3c7ff8dea899615d341e1e)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/bzip2/Makefile2
-rw-r--r--usr.bin/bzip2recover/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/bzip2/Makefile b/usr.bin/bzip2/Makefile
index 99679cc00c44..b89f8bbb85a2 100644
--- a/usr.bin/bzip2/Makefile
+++ b/usr.bin/bzip2/Makefile
@@ -1,3 +1,5 @@
+PACKAGE= bzip2
+
BZ2DIR= ${SRCTOP}/contrib/bzip2
.PATH: ${BZ2DIR}
diff --git a/usr.bin/bzip2recover/Makefile b/usr.bin/bzip2recover/Makefile
index 2b11d3a45694..b62cba373296 100644
--- a/usr.bin/bzip2recover/Makefile
+++ b/usr.bin/bzip2recover/Makefile
@@ -1,3 +1,5 @@
+PACKAGE= bzip2
+
BZ2DIR= ${SRCTOP}/contrib/bzip2
.PATH: ${BZ2DIR}