aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/miscom/Makefile2
-rw-r--r--games/miscom/files/patch-Makefile11
2 files changed, 13 insertions, 0 deletions
diff --git a/games/miscom/Makefile b/games/miscom/Makefile
index 3f740d7668b3..a905dc3753aa 100644
--- a/games/miscom/Makefile
+++ b/games/miscom/Makefile
@@ -13,6 +13,8 @@ COMMENT= Atari "Missile Command" clone
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= ncurses
+
ALL_TARGET= # empty
MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}" \
diff --git a/games/miscom/files/patch-Makefile b/games/miscom/files/patch-Makefile
new file mode 100644
index 000000000000..ccc8aaaaf9e5
--- /dev/null
+++ b/games/miscom/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 1997-03-15 21:37:42 UTC
++++ Makefile
+@@ -41,7 +41,7 @@ LIBS=-lncurses
+ FILES=main.o draw.o wwn.o fire.o unix.o level.o sound.o
+
+ miscom: $(FILES)
+- $(CC) $(CFLAGS) -o miscom $(FILES) $(LIBS)
++ $(CC) $(CFLAGS) -o miscom $(FILES) $(LDFLAGS) $(LIBS)
+
+ install:
+ install -m 511 miscom $(BINDIR)