Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2023 21:43:09 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: fbe92d5e5ad5 - main - x11-toolkits/ntk: Fix build with llvm16
Message-ID:  <202306252143.35PLh9wR056936@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=fbe92d5e5ad595bdd8b60a9c46221a5c53e5cb6b

commit fbe92d5e5ad595bdd8b60a9c46221a5c53e5cb6b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 20:25:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-25 21:42:44 +0000

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

diff --git a/x11-toolkits/ntk/Makefile b/x11-toolkits/ntk/Makefile
index fbea2d7a11ab..e18439e5eba0 100644
--- a/x11-toolkits/ntk/Makefile
+++ b/x11-toolkits/ntk/Makefile
@@ -24,6 +24,12 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PLIST_SUB=	SHLIB_VER=${PORTVERSION:R}
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=  -Dregister=
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e " \
 		s|conf\.env\['LIB_DL'\] = \['dl'\]|conf.env['LIB_DL'] = []|; \



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