diff --git a/devel/cc65/Makefile b/devel/cc65/Makefile index 96c2d4d525d5..2911d28bc17e 100644 --- a/devel/cc65/Makefile +++ b/devel/cc65/Makefile @@ -36,7 +36,8 @@ post-patch: -e "s,-std=c89,-std=c99,g" \ -e "s,CC[[:space:]]*=.*,#&,") .if defined(NOPORTDOCS) - ${REINPLACE_CMD} -E -e "s,(install:.*)install-docs(.*)$$,\1\2," \ + @${REINPLACE_CMD} -E -e "s,(install:.*)install-docs(.*)$$,\1\2," \ + -e '/\(MKDIR\)[[:space:]]+\$$\(CC65DOC\)/d' \ ${WRKSRC}/make/gcc.mak .endif