aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2025-11-02 11:04:40 +0000
committerMatthias Andree <mandree@FreeBSD.org>2025-11-17 22:10:34 +0000
commit4f313c8fd2f40d0e16492613e593a40724102137 (patch)
tree639d331a3c230298593f407a91e4115a4e97446c
parent29388509d66aa002f0b88c76f91df2b31e070ba7 (diff)
archivers/zstd: remove lz4, fix manpages
This shortens the requisite path for lang/python314, and we have a separate archivers/lz4 port. This also updates the manual pages to v1.5.7, the release tarball missed updating them, see <https://github.com/facebook/zstd/releases/tag/v1.5.7> PR: 290739 Approved by: maintainer timeout (sunpoet@, 15 days)
-rw-r--r--archivers/zstd/Makefile11
-rw-r--r--archivers/zstd/distinfo4
2 files changed, 12 insertions, 3 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index 08c117e9fe55..b56e3290420d 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,8 +1,14 @@
PORTNAME= zstd
PORTVERSION= 1.5.7
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= https://github.com/facebook/zstd/releases/download/v${PORTVERSION}/
+# update manpages to v1.5.7, were missed in the release,
+# see https://github.com/facebook/zstd/releases/tag/v1.5.7
+PATCH_SITES= https://github.com/facebook/zstd/commit/
+PATCHFILES= 6af3842118ea5325480b403213b2a9fbed3d3d74.diff:-p1 # v1.5.7 manpages
+
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fast real-time compression algorithm
WWW= https://facebook.github.io/zstd/ \
@@ -13,8 +19,8 @@ LICENSE_COMB= dual
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
-LIB_DEPENDS= liblz4.so:archivers/liblz4
-
+# Note this port is in the dependency chain of lang/python314
+# as a requisite, thus cannot use meson or python to build
USES= cpe gmake localbase:ldflags tar:zst
ALL_TARGET= default
@@ -25,6 +31,7 @@ MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
V=1
+MAKE_ARGS+= ${_MAKE_JOBS} HAVE_LZ4=0
TEST_TARGET= check
USE_LDCONFIG= yes
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index 06fcc91f806d..53cddd81d61c 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1740022434
+TIMESTAMP = 1762084535
SHA256 (zstd-1.5.7.tar.zst) = 5b331d961d6989dc21bb03397fc7a2a4d86bc65a14adc5ffbbce050354e30fd2
SIZE (zstd-1.5.7.tar.zst) = 1862563
+SHA256 (6af3842118ea5325480b403213b2a9fbed3d3d74.diff) = 505a0dc5d6b9a3e6d5eba26a90dfc6b488908bbd8a616229aa4f4a04c357883b
+SIZE (6af3842118ea5325480b403213b2a9fbed3d3d74.diff) = 53062