git: 31d49d9d4200 - main - science/openbabel: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 17:43:32 UTC
The branch main has been updated by bofh:

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

commit 31d49d9d4200a3d9cb5695bb1daee68e28ae7299
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 16:04:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:38 +0000

    science/openbabel: Fix build with llvm16
    
    This was a bit ambiguous as it uses USE_CXXSTD for GCC while gnu++98 for
    clang. However this patch was tested on 12.4-RELEASE i386/amd64,
    13.1-RELEASE amd64 and MAIN amd64.
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 science/openbabel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/openbabel/Makefile b/science/openbabel/Makefile
index 4f423feebcaf..1cde3a122d32 100644
--- a/science/openbabel/Makefile
+++ b/science/openbabel/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libmaeparser.so:science/maeparser	\
 CONFLICTS_INSTALL=	babel
 
 USES=		cmake:testing compiler:c++11-lang eigen:3 gnome pkgconfig tar:bz2
-USE_CXXSTD=	gnu++98
+USE_CXXSTD=	c++11
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 USE_GITHUB=	yes # temporary