diff --git a/math/py-levmar/Makefile b/math/py-levmar/Makefile index 3e5e28f7451c..ea49e3ad6831 100644 --- a/math/py-levmar/Makefile +++ b/math/py-levmar/Makefile @@ -29,6 +29,10 @@ USE_PYTHON= distutils autoplist CFLAGS+= -Wno-error=int-conversion .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's|รถ|o|' ${WRKSRC}/AUTHORS # breaks because of non-ascii chars