Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 09:40:21 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: 1ac9dec204b4 - main - cad/tochnog: Fix build with llvm16
Message-ID:  <202307260940.36Q9eLp7050290@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=1ac9dec204b45f86c417aafb273874e3918cb3ce

commit 1ac9dec204b45f86c417aafb273874e3918cb3ce
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 08:58:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 09:40:11 +0000

    cad/tochnog: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 cad/tochnog/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile
index 916c00665841..9c968416088f 100644
--- a/cad/tochnog/Makefile
+++ b/cad/tochnog/Makefile
@@ -46,6 +46,10 @@ ALL_TARGET=	freebsd_old
 LIB_DEPENDS+=	libsuperlu.so:math/superlu
 SUPERLU=	superlu
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CPPFLAGS+=  -Dregister=
+.endif
+
 post-extract:
 .for sup in gid tools test
 	${MV} ${WRKDIR}/${sup} ${WRKDIR}/Sources/



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