diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2007-05-26 20:38:49 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2007-05-26 20:38:49 +0000 |
commit | add90dd319be1d4e500d5a1fc89f648ef45d6af8 (patch) | |
tree | 5296c17af9e0f98777120d8d08a8bc295a1b6000 /games/atr3d | |
parent | Fix build with gcc4.2 (diff) |
BROKEN with gcc 4.2
Notes
Notes:
svn path=/head/; revision=191937
Diffstat (limited to 'games/atr3d')
-rw-r--r-- | games/atr3d/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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> |