diff options
author | kris <kris@FreeBSD.org> | 2007-05-27 11:03:31 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2007-05-27 11:03:31 +0800 |
commit | 3ee20a81fbe38cbba4000ad893e1ac81e953f2eb (patch) | |
tree | 965567cbb664ce2d1956915bd4daa13e8e6e1241 /games/nighthawk | |
parent | 0ccd4067feff5266b8b5bc29943d9c4ca415e847 (diff) | |
download | freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.gz freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.zst freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.zip |
BROKEN with gcc 4.2
Diffstat (limited to 'games/nighthawk')
-rw-r--r-- | games/nighthawk/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile index c52a983d361c..b6814cb1f177 100644 --- a/games/nighthawk/Makefile +++ b/games/nighthawk/Makefile @@ -24,6 +24,12 @@ USE_XPM= yes USE_GMAKE= yes MAN6= nighthawk.6 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + post-patch: ${REINPLACE_CMD} "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/floor.cc \ ${WRKSRC}/src/ship.cc ${WRKSRC}/src_sound/nighthawk_sound.c \ @@ -34,4 +40,4 @@ post-install: ${CHMOD} g+s ${PREFIX}/bin/nighthawk ${SH} pkg-install ${PORTNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> |