aboutsummaryrefslogtreecommitdiff
path: root/games/falconseye
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-01-26 08:25:41 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-01-26 08:25:41 +0000
commite48ace0244c180e905774421cd0859187f6747a8 (patch)
treea4c219f0ff2bd3b0d3c13d99116508ca3fa27f7b /games/falconseye
parent8935cc10314c631cff5cdb7e502b22f6ae9c9dbf (diff)
downloadports-e48ace0244c180e905774421cd0859187f6747a8.tar.gz
ports-e48ace0244c180e905774421cd0859187f6747a8.zip
Fix build on -current
Notes
Notes: svn path=/head/; revision=53773
Diffstat (limited to 'games/falconseye')
-rw-r--r--games/falconseye/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile
index 5642a653dc74..c6fd4a334a5d 100644
--- a/games/falconseye/Makefile
+++ b/games/falconseye/Makefile
@@ -26,6 +26,12 @@ USE_XPM= yes
MAKE_ENV+= CFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include -L${X11BASE}/lib -L${LOCALBASE}/lib -I${LOCALBASE}/include/SDL11" PREFIX="${PREFIX}" X11BASE="${X11BASE}"
WRKSRC= ${WRKDIR}
+post-patch:
+ @${PERL} -pi -e "s@<malloc.h>@<stdlib.h>@g" \
+ ${WRKSRC}/include/jtp_gen.h ${WRKSRC}/win/jtp/jtp_dirx.c \
+ ${WRKSRC}/win/jtp/jtp_keys.c ${WRKSRC}/win/jtp/jtp_sdl.c \
+ ${WRKSRC}/win/Qt/qt_win.cpp
+
do-configure:
@cd ${WRKSRC}/sys/unix && ${SH} setup.sh symlinks