Skip to content

Commit

Permalink
cad/tochnog: Fix build with llvm16
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 26, 2023
1 parent acb1216 commit 1ac9dec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cad/tochnog/Makefile
Expand Up @@ -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/
Expand Down

0 comments on commit 1ac9dec

Please sign in to comment.