aboutsummaryrefslogtreecommitdiff
path: root/games/nighthawk
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2002-04-06 09:23:07 +0000
committerMark Pulford <markp@FreeBSD.org>2002-04-06 09:23:07 +0000
commitab31dbce968b881173c2c3c95388966e7d3ee8b4 (patch)
treef4472a01b554228a143339240cd42af5d39f020f /games/nighthawk
parentb26e4e183bb702139ab9167166e7d1663a4046fa (diff)
downloadports-ab31dbce968b881173c2c3c95388966e7d3ee8b4.tar.gz
ports-ab31dbce968b881173c2c3c95388966e7d3ee8b4.zip
Notes
Diffstat (limited to 'games/nighthawk')
-rw-r--r--games/nighthawk/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile
index 846346ada954..4ba403e8227f 100644
--- a/games/nighthawk/Makefile
+++ b/games/nighthawk/Makefile
@@ -21,6 +21,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-scores=/var/games/nighthawk.scores --enable-sound
MAN6= nighthawk.6
+post-patch:
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/floor.cc \
+ ${WRKSRC}/src/ship.cc ${WRKSRC}/src_sound/nighthawk_sound.c \
+ ${WRKSRC}/src_sound/funkload.c ${WRKSRC}/src_sound/dsp_mixxer.c
+
post-install:
${CHOWN} root:games ${PREFIX}/bin/nighthawk
${CHMOD} g+s ${PREFIX}/bin/nighthawk