diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile index 916c006658412..9c968416088f0 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/