summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/gillo/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/gillo/Makefile b/games/gillo/Makefile
index a742632..b3e5641 100644
--- a/games/gillo/Makefile
+++ b/games/gillo/Makefile
@@ -27,6 +27,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
JAM?= ${LOCALBASE}/bin/jam
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not compile
+.endif
+
post-patch:
@${REINPLACE_CMD} -i '' -e 's|SDL/||g' ${WRKSRC}/src/*
@${REINPLACE_CMD} -e 's|%%SDL_CFLAGS%%|`${SDL_CONFIG} --cflags`|' \
@@ -44,4 +50,4 @@ do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/*.* ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud