git: 1c85c946bfdf - main - devel/nanopb: Add missing dependency

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 16 May 2024 02:13:01 UTC
The branch main has been updated by yuri:

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

commit 1c85c946bfdf9dce491f6e59e2df9346b01c363f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-15 23:04:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-16 02:12:59 +0000

    devel/nanopb: Add missing dependency
    
    Reported by:    fallout (devel/criterion failure due to this problem)
---
 devel/nanopb/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/nanopb/Makefile b/devel/nanopb/Makefile
index a3900a212be4..d0cb81b91271 100644
--- a/devel/nanopb/Makefile
+++ b/devel/nanopb/Makefile
@@ -11,7 +11,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 BUILD_DEPENDS=	protoc:devel/protobuf \
 		${PY_SETUPTOOLS}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \
+		${PY_SETUPTOOLS} # for the pkg_resources package
 TEST_DEPENDS=	scons:devel/scons
 
 USES=		cmake python shebangfix