cad/tochnog: Fix build with llvm16

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-26 10:58:22 +02:00
parent acb121688a
commit 1ac9dec204

View file

@ -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/