diff options
author | ahze <ahze@FreeBSD.org> | 2008-04-17 05:39:20 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2008-04-17 05:39:20 +0800 |
commit | 011476f3a16b2be93956ee3487b5cd5016ae0eac (patch) | |
tree | 205d69a5e612d214426a5b623a33d4fdf1ed874d /textproc | |
parent | 3f4ca19f2ef0086e8ec1196fc5efc8eb7c02cd94 (diff) | |
download | freebsd-ports-gnome-011476f3a16b2be93956ee3487b5cd5016ae0eac.tar.gz freebsd-ports-gnome-011476f3a16b2be93956ee3487b5cd5016ae0eac.tar.zst freebsd-ports-gnome-011476f3a16b2be93956ee3487b5cd5016ae0eac.zip |
Fix build on OSVERSION < 700042
PR: ports/122831
Submitted by: barbara <barbara.xxx1975@libero.ot>
Diffstat (limited to 'textproc')
-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> |