git: f0ec233ae200 - main - devel/py-maturin: Add missing dependency

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 20 Jun 2025 17:54:03 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0ec233ae200780217dbefb16fac92a32ada25fb

commit f0ec233ae200780217dbefb16fac92a32ada25fb
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-06-20 17:50:57 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-06-20 17:50:57 +0000

    devel/py-maturin: Add missing dependency
    
    * Since release 1.8.7, libzstd.so is also required, which was not                                                                                                              noticed when bulk building/testing this port and its consumers with
      default options, because libzstd.so is automatically provided by
      lang/rust via its dependency on ftp/curl.  The latter one supplies
      libzstd.so by default via the ZSTD option.
    
    * Resolve the issue by adding the missing dependency to LIB_DEPENDS
      and bump PORTREVISION due changed dependencies.
    
    PR:             287683
    Reported by:    Christos Chatzaras
---
 devel/py-maturin/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/py-maturin/Makefile b/devel/py-maturin/Makefile
index a7d43677b2dc..b42b796664b4 100644
--- a/devel/py-maturin/Makefile
+++ b/devel/py-maturin/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	maturin
 DISTVERSION=	1.8.7
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +20,7 @@ BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.4.0:devel/py-setuptools-rust@${PY_FLAVOR} \
 		${PY_TOMLI} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0.36.2:devel/py-wheel@${PY_FLAVOR}
+LIB_DEPENDS=	libzstd.so:archivers/zstd
 RUN_DEPENDS=	${PY_TOMLI}
 
 USES=		cargo python