diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-strategy/tornado/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-strategy/tornado/files')
-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)\"" |