Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 00:10:08 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: 3237ce155746 - main - devel/qjson: Fix build with llvm16
Message-ID:  <202306260010.35Q0A87x094264@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=3237ce1557467a3f89a3d1fa7a9308161665bf0c

commit 3237ce1557467a3f89a3d1fa7a9308161665bf0c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-26 00:04:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 00:09:51 +0000

    devel/qjson: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/qjson/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/qjson/Makefile b/devel/qjson/Makefile
index 19c4c328f806..60f4d1401fb5 100644
--- a/devel/qjson/Makefile
+++ b/devel/qjson/Makefile
@@ -29,6 +29,12 @@ OPTIONS_SUB=	yes
 
 DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CXXFLAGS+=  -Dregister=
+.endif
+
 post-build-DOXYGEN-on:
 	cd ${WRKSRC}/doc && doxygen
 



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