openbsd-ports/games/tornado/patches/patch-Makefile_inc
jolan 2a87095093 import of tornado-1.3:
Tornado is a clone of Ouranos (Weather War).  The goal of the game is to
destroy the opponent's house with certain weather phenomenons: rain,
snow, hail, lightning, and tornadoes.  The game can be played together
(two players), against the computer (or two computer players against
each other) or over a TCP connection.

WWW: http://home.kcore.de/~kiza/linux/tornado/
2003-11-27 06:07:37 +00:00

19 lines
619 B
Plaintext

$OpenBSD: patch-Makefile_inc,v 1.1.1.1 2003/11/27 06:07:37 jolan Exp $
--- Makefile.inc.orig 2003-11-20 04:55:50.000000000 -0600
+++ Makefile.inc 2003-11-20 20:35:42.000000000 -0600
@@ -1,9 +1,9 @@
-CC = gcc
-MAKE = make
+#CC = gcc
+#MAKE = make
LDFLAGS = -lncurses
OBJFILES = main.o draw.o erwin.o network.o scores.o
-PREFIX = /usr/local
-LOCALEPATH = /usr/local/share/locale
-CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
+#PREFIX = /usr/local
+LOCALEPATH = ${PREFIX}/share/locale
+CFLAGS+= -Wall -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
LOCALES = de
MAN = doc/man