summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-01-06 04:23:22 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-01-06 04:24:59 +0000
commit9c401bf14854ef20e5e187395a686b0d1b7bcb5f (patch)
tree6e3327bddaf31838e7975b5e8b3d3fb81469d088 /lib
parent665ac052aa04c4dc240d67c3c2166ac63e7f86eb (diff)
zstd: Move to a new zstd package
Zstd is a discrete, self-contained system component. To match how we package zlib, bzip2 and xz, move it to its own package, with a separate lib package. Add the new package to the minimal set, since this is a core component that users expect to be installed. This change adds a new package to the system so, until we have a proper policy on how to handle this in release/stable branches, it should not be MFC'd. MFC after: never Reviewed by: bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53603
Diffstat (limited to 'lib')
-rw-r--r--lib/libzstd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libzstd/Makefile b/lib/libzstd/Makefile
index 0e25f01d4881..4a1557a14517 100644
--- a/lib/libzstd/Makefile
+++ b/lib/libzstd/Makefile
@@ -1,3 +1,6 @@
+PACKAGE= zstd
+LIB_PACKAGE=
+
LIB= zstd
SRCS= entropy_common.c \
error_private.c \
@@ -43,7 +46,6 @@ LIBADD= pthread
CFLAGS+= -DZSTD_DISABLE_ASM
PRIVATELIB= yes
-PACKAGE= runtime
ZSTDDIR= ${SRCTOP}/sys/contrib/zstd
.PATH: ${ZSTDDIR}/lib/common ${ZSTDDIR}/lib/compress \