Fix build on OSVERSION < 700042
PR: ports/122831 Submitted by: barbara <barbara.xxx1975@libero.ot>
This commit is contained in:
parent
43b411e1bf
commit
3b3feb82ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211393
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user