--- Makefile (revision 485843) +++ Makefile (working copy) @@ -46,9 +46,14 @@ OPTIONS_DEFINE= DOCS +.include + +post-patch: .if defined(BAD_TESTS) -post-patch: ${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} .endif +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + ${REINPLACE_CMD} -e '/-Wno-unknown-warning-option -Wno-implicit-fallthrough/d' ${WRKSRC}/configure.ac +.endif -.include +.include