diff --git a/devel/genht/Makefile b/devel/genht/Makefile index 97e7b7914bf8..502450972338 100644 --- a/devel/genht/Makefile +++ b/devel/genht/Makefile @@ -20,6 +20,12 @@ PORTEXAMPLES= Makefile example.c examplev.c OPTIONS_DEFINE= EXAMPLES +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES}