summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/pykawari/Makefile4
-rw-r--r--games/sopwith/Makefile8
2 files changed, 11 insertions, 1 deletions
diff --git a/games/pykawari/Makefile b/games/pykawari/Makefile
index 3851d2adf187..e21265678f20 100644
--- a/games/pykawari/Makefile
+++ b/games/pykawari/Makefile
@@ -35,6 +35,10 @@ CFLAGS+= ${PTHREAD_CFLAGS} -fPIC
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
diff --git a/games/sopwith/Makefile b/games/sopwith/Makefile
index 53ac20e24421..4d28b07f8171 100644
--- a/games/sopwith/Makefile
+++ b/games/sopwith/Makefile
@@ -23,4 +23,10 @@ GNU_CONFIGURE= yes
MAN6= sopwith.6
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
+.include <bsd.port.post.mk>