aboutsummaryrefslogtreecommitdiff
path: root/textproc/enchant
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2008-04-16 21:39:20 +0000
committerMichael Johnson <ahze@FreeBSD.org>2008-04-16 21:39:20 +0000
commit3b3feb82eae1fa63571a47e3b646c343a10dc83d (patch)
tree3f1d551644c45ae9a1371edf10fb5533a092d66a /textproc/enchant
parent43b411e1bfb22590976a4f4576057877e2e3730b (diff)
downloadports-3b3feb82eae1fa63571a47e3b646c343a10dc83d.tar.gz
ports-3b3feb82eae1fa63571a47e3b646c343a10dc83d.zip
Notes
Diffstat (limited to 'textproc/enchant')
-rw-r--r--textproc/enchant/Makefile6
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>