summaryrefslogtreecommitdiff
path: root/games/omega/patches
diff options
context:
space:
mode:
authorroy <roy>2013-10-17 16:11:15 +0000
committerroy <roy>2013-10-17 16:11:15 +0000
commit948e0c79b66c33860df2a06764df0ebf23fd1f01 (patch)
tree5b05aef1c08e30cc27c6688736171c95a0fc6f36 /games/omega/patches
parente40c1c3aceee1b9875a029830132ff125537ed36 (diff)
downloadpkgsrc-948e0c79b66c33860df2a06764df0ebf23fd1f01.tar.gz
Works fine with system curses
Diffstat (limited to 'games/omega/patches')
-rw-r--r--games/omega/patches/patch-aa18
1 files changed, 13 insertions, 5 deletions
diff --git a/games/omega/patches/patch-aa b/games/omega/patches/patch-aa
index 2cbce25f7e4..b86d541517d 100644
--- a/games/omega/patches/patch-aa
+++ b/games/omega/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 1999/12/28 02:28:23 proff Exp $
+$NetBSD: patch-aa,v 1.3 2013/10/17 16:19:42 roy Exp $
---- Makefile.orig Fri Jan 1 20:00:06 1999
-+++ Makefile Mon Jul 5 19:51:50 1999
+--- Makefile.orig 1999-01-02 04:00:06.000000000 +0000
++++ Makefile
@@ -1,14 +1,14 @@
# These two definitions are used if you 'make install'
# the value of LIBDIR should be the same as OMEGALIB in defs.h
@@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.2 1999/12/28 02:28:23 proff Exp $
#CFLAGS = -DSYSV -O
# I also had to define -cckr (K&R style C) for system V
#CFLAGS = -DMSDOS -O
-@@ -17,14 +17,14 @@
+@@ -17,21 +17,21 @@ CFLAGS = -DBSD -ggdb
# CPP should contain the command to run the C preprocessor.
#CPP = cc -E
#CPP = /lib/cpp
@@ -37,7 +37,15 @@ $NetBSD: patch-aa,v 1.2 1999/12/28 02:28:23 proff Exp $
# comment out one of the following two, after establishing whether your
# machine uses termcap (most BSD machines) or terminfo (System-V)
-@@ -48,7 +48,10 @@
+ #LIBS = -lcurses -ltermcap
+ #LIBS = -lcurses -ltermlib
+ # Linux links in term?? automatically.
+-LIBS = -lncurses
++LIBS = -lcurses
+
+ #################### that's it for changing the Makefile ####################
+
+@@ -48,7 +48,10 @@ OBJ = omega.o abyss.o aux1.o aux2.o aux3
omega: $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o omega