aboutsummaryrefslogtreecommitdiff
path: root/games/mirrormagic
diff options
context:
space:
mode:
Diffstat (limited to 'games/mirrormagic')
-rw-r--r--games/mirrormagic/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
index 1cbca697985c..d6be7227240a 100644
--- a/games/mirrormagic/Makefile
+++ b/games/mirrormagic/Makefile
@@ -27,6 +27,12 @@ USE_XLIB= yes
ALL_TARGET= x11
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|$$(SDL_CONFIG)|g' \
${WRKSRC}/src/Makefile
@@ -49,4 +55,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>