git: 4841cc9ee995 - main - devel/nanopb: Update 0.4.6.4 -> 0.4.6.4-3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 03 Jul 2022 17:20:04 UTC
The branch main has been updated by yuri:

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

commit 4841cc9ee9954023794ed007867663ed0187cec5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-03 17:19:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-03 17:20:02 +0000

    devel/nanopb: Update 0.4.6.4 -> 0.4.6.4-3
    
    Tests now succeed.
---
 devel/nanopb/Makefile | 9 ++++++---
 devel/nanopb/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/nanopb/Makefile b/devel/nanopb/Makefile
index 14e80c6b510a..2f75088c322f 100644
--- a/devel/nanopb/Makefile
+++ b/devel/nanopb/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nanopb
-DISTVERSION=	0.4.6.4
+DISTVERSION=	0.4.6.4-3
+DISTVERSIONSUFFIX=	-gf84ad7f
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -21,7 +22,9 @@ SHEBANG_FILES=	generator/nanopb_generator.py
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_ARGS=	-DPython_EXECUTABLE=${PYTHON_CMD}
 
-do-test: # tests fail to build, see https://github.com/nanopb/nanopb/issues/792
-	@cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} scons
+BINARY_ALIAS=	python3=${PYTHON_CMD} # only for tests
+
+do-test:
+	@cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} scons LINKLIBS=-lm
 
 .include <bsd.port.mk>
diff --git a/devel/nanopb/distinfo b/devel/nanopb/distinfo
index 36ec95902e9b..2296476a0cbf 100644
--- a/devel/nanopb/distinfo
+++ b/devel/nanopb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1656862386
-SHA256 (nanopb-nanopb-0.4.6.4_GH0.tar.gz) = e450ba1c4d62ad17663720141bbbbf661e74a20ea64130af9d2f056d6867606d
-SIZE (nanopb-nanopb-0.4.6.4_GH0.tar.gz) = 1136519
+TIMESTAMP = 1656866213
+SHA256 (nanopb-nanopb-0.4.6.4-3-gf84ad7f_GH0.tar.gz) = b67ce9e7f65dd6d9d0c48ceaab2f382604068828ed6d990307707fae9343ceee
+SIZE (nanopb-nanopb-0.4.6.4-3-gf84ad7f_GH0.tar.gz) = 1136772