pkgsrc-wip/tetrinet/patches/patch-aa
Juan Romero Pardines 4e6e5daf2c Initial import of tetrinet-0.7a, package provided by David Ferlier via
PR pkg/20068.

Tetrinet is a multiplayer, networked tetris game for up to 6 players.
This version is to be used on a terminal.
2003-09-02 06:01:01 +00:00

21 lines
613 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/09/02 06:01:01 xtraeme Exp $
--- Makefile.orig Sun Oct 18 21:31:17 1998
+++ Makefile Sun Jan 26 16:39:43 2003
@@ -1,5 +1,5 @@
-CC = cc
-CFLAGS = -O2 -I/usr/include/ncurses
+CC ?= cc
+CFLAGS = -O2
OBJS = server.o sockets.o tetrinet.o tetris.o tty.o xwin.o
@@ -9,7 +9,7 @@
cp -p tetrinet tetrinet-server /usr/games
tetrinet: $(OBJS)
- $(CC) -o $@ $(OBJS) -lncurses
+ $(CC) -o $@ $(OBJS) -lcurses
tetrinet-server: server.c sockets.c tetrinet.c tetris.c server.h sockets.h tetrinet.h tetris.h
$(CC) $(CFLAGS) -o $@ -DSERVER_ONLY server.c sockets.c tetrinet.c tetris.c