git: e53ce1bfa382 - main - science/smoldyn: Fix build with clang-16 by adding USE_CXXSTD

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 01:40:41 UTC
The branch main has been updated by yuri:

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

commit e53ce1bfa382f6e1b063289a8e3d59fef704b76f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-17 01:40:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-17 01:40:07 +0000

    science/smoldyn: Fix build with clang-16 by adding USE_CXXSTD
    
    Reported by:    fallout
---
 science/smoldyn/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/smoldyn/Makefile b/science/smoldyn/Makefile
index e8590ea44dbb..d182ae6cc540 100644
--- a/science/smoldyn/Makefile
+++ b/science/smoldyn/Makefile
@@ -19,6 +19,7 @@ USES=		cmake:testing compiler:c++11-lang gl localbase:ldflags python:test tar:tg
 USE_GL=		gl glu glut
 USE_XORG=	xi xmu
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++14 # fix build broken by deprecated feature std::unary_function use, see https://github.com/ssandrews/Smoldyn/issues/135
 
 SHEBANG_GLOB=	*.py.in