aboutsummaryrefslogtreecommitdiff
path: root/games/xtrojka/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xtrojka/Makefile')
-rw-r--r--games/xtrojka/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile
index 5ad5f0dfd1cc..282c055f3f3f 100644
--- a/games/xtrojka/Makefile
+++ b/games/xtrojka/Makefile
@@ -19,7 +19,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
.include <bsd.port.options.mk>
post-patch:
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS=-Wno-error=incompatible-function-pointer-types |g' \
${WRKSRC}/Makefile
.endif