diff --git a/audio/libfishsound/Makefile b/audio/libfishsound/Makefile index 8f157fb7de3a0..95bfdc1634e9a 100644 --- a/audio/libfishsound/Makefile +++ b/audio/libfishsound/Makefile @@ -29,6 +29,12 @@ DOXYGEN_IMPLIES=DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in