summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-26 20:38:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-26 20:38:49 +0000
commitadd90dd319be1d4e500d5a1fc89f648ef45d6af8 (patch)
tree5296c17af9e0f98777120d8d08a8bc295a1b6000 /games
parentFix build with gcc4.2 (diff)
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191937
Diffstat (limited to 'games')
-rw-r--r--games/aqbubble/Makefile4
-rw-r--r--games/atr3d/Makefile8
2 files changed, 11 insertions, 1 deletions
diff --git a/games/aqbubble/Makefile b/games/aqbubble/Makefile
index 7eda0c1c734a..20b4c7fe8bbb 100644
--- a/games/aqbubble/Makefile
+++ b/games/aqbubble/Makefile
@@ -29,6 +29,10 @@ OPTIONS= NLS "Native Language Support" on
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
index b64915a4b6ea..f7ad993ad489 100644
--- a/games/atr3d/Makefile
+++ b/games/atr3d/Makefile
@@ -38,6 +38,12 @@ USE_AUTOTOOLS= automake:19 autoconf:259
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
pre-patch:
@${PERL} -pi.orig -e 's|^aclocal|${ACLOCAL}|; \
s|^autoconf|${AUTOCONF}|; s|^automake|${AUTOMAKE}|' \
@@ -55,4 +61,4 @@ post-configure:
's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>