git: 11fd29ed33ed - 2023Q3 - science/smoldyn: Fix build with clang-16 by adding USE_CXXSTD

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

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

commit 11fd29ed33ede5e14f11b60acd27fe796605b02e
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:49:54 +0000

    science/smoldyn: Fix build with clang-16 by adding USE_CXXSTD
    
    Reported by:    fallout
    
    (cherry picked from commit e53ce1bfa382f6e1b063289a8e3d59fef704b76f)
---
 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