summaryrefslogtreecommitdiff
path: root/games/ninvaders/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/ninvaders/patches/patch-aa')
-rw-r--r--games/ninvaders/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/ninvaders/patches/patch-aa b/games/ninvaders/patches/patch-aa
new file mode 100644
index 00000000000..1a40d26c286
--- /dev/null
+++ b/games/ninvaders/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/04/11 18:00:42 snj Exp $
+
+--- Makefile.orig 2003-05-08 12:19:50.000000000 -0700
++++ Makefile 2009-04-01 13:22:43.000000000 -0700
+@@ -1,6 +1,4 @@
+-CC=gcc
+-CFLAGS=-O3 -Wall
+-LIBS=-lncurses
++LIBS=-lcurses
+
+ CFILES=globals.c view.c aliens.c ufo.c player.c nInvaders.c
+ HFILES=globals.h view.h aliens.h ufo.h player.h nInvaders.h
+@@ -14,3 +12,6 @@ nInvaders: $(OFILES) $(HFILES)
+ $(CC) -c -I. $(CFLAGS) $(OPTIONS) $<
+ clean:
+ rm -f nInvaders $(OFILES)
++
++install:
++ ${BSD_INSTALL_PROGRAM} nInvaders ${DESTDIR}${PREFIX}/bin/ninvaders