Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 00:53:49 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4e8188fdccdf - main - devel/ucommon: Fix build with llvm16
Message-ID:  <202306300053.35U0rniL029183@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 4e8188fdccdfea82c790727d5de82d9914d43971
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-29 23:53:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-30 00:52:07 +0000

    devel/ucommon: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/ucommon/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile
index d3ef1b5e554b..b86b69db4292 100644
--- a/devel/ucommon/Makefile
+++ b/devel/ucommon/Makefile
@@ -17,7 +17,13 @@ CMAKE_ARGS=	-DBUILD_TESTING:BOOL=ON \
 USE_LDCONFIG=	yes
 TEST_TARGET=	test
 
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
+USE_CXXSTD=	c++11
+.endif
+
 post-install:
 	${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300053.35U0rniL029183>