Fix build on OSVERSION < 700042

PR:		ports/122831
Submitted by:	barbara <barbara.xxx1975@libero.ot>
This commit is contained in:
Michael Johnson 2008-04-16 21:39:20 +00:00
parent 43b411e1bf
commit 3b3feb82ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211393

View File

@ -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>