diff options
Diffstat (limited to 'games-strategy/tornado/files/tornado-1.4-gentoo.patch')
-rw-r--r-- | games-strategy/tornado/files/tornado-1.4-gentoo.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/games-strategy/tornado/files/tornado-1.4-gentoo.patch b/games-strategy/tornado/files/tornado-1.4-gentoo.patch new file mode 100644 index 000000000000..fb8966841158 --- /dev/null +++ b/games-strategy/tornado/files/tornado-1.4-gentoo.patch @@ -0,0 +1,26 @@ +--- Makefile.old 2009-02-12 12:42:25.000000000 +0100 ++++ Makefile 2009-02-12 12:44:52.000000000 +0100 +@@ -1,10 +1,9 @@ +-CC = gcc + MAKE = make +-LDFLAGS = -lncurses ++LDLIBS = -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 ++LOCALEPATH = /usr/share/locale ++CFLAGS += -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" + VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` + LOCALES = de + MAN = doc/man +@@ -25,7 +24,7 @@ + $(MAKE) -C $(MAN) all + + tornado: $(OBJFILES) +- $(CC) $(LDFLAGS) $(OBJFILES) -o tornado ++ $(CC) $(LDFLAGS) $(OBJFILES) $(LDLIBS) -o tornado + + debug: tornado.6 locales + gcc -g -ggdb -Wall -ansi -pedantic -o tornado draw.c main.c erwin.c network.c scores.c -lncurses -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" |