diff options
-rw-r--r-- | textproc/enchant/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile index c9c318eadc61..b9af621079e8 100644 --- a/textproc/enchant/Makefile +++ b/textproc/enchant/Makefile @@ -70,5 +70,11 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|MKDIRPROG-mkdir|MKDIRPROG-mkdir -p|g' \ ${WRKSRC}/install-sh +.if ${OSVERSION} < 700042 + @${REINPLACE_CMD} -E -e "s|-Wunsafe-loop-optimizations ||g" \ + -e "s|no-missing-field-initializers ||g" \ + -e "s|no-attributes ||g" \ + ${WRKSRC}/configure +.endif .include <bsd.port.post.mk> |