summaryrefslogtreecommitdiff
path: root/games-arcade/nibbles/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/nibbles/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/nibbles/files')
-rw-r--r--games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch b/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch
new file mode 100644
index 000000000000..7e27d1fb9cac
--- /dev/null
+++ b/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch
@@ -0,0 +1,24 @@
+--- Makefile.old 2009-02-02 12:40:36.000000000 +0100
++++ Makefile 2009-02-02 12:41:22.000000000 +0100
+@@ -1,19 +1,14 @@
+-CC = gcc -Wall -g
+-
+ SRCS = player.c main.c loadMap.c cmdline.c ncdrawlib.c scoring.c
+ OBJS = $(SRCS:.c=.o)
+-LIBS = -lncurses
++LDLIBS = -lncurses
+
+ INSTALL=/usr/bin/install -c
+ INSTALL_FOLDER=/usr/games
+
+ all: nibbles
+
+-.c.o:
+- $(CC) -c $*.c -o $*.o
+-
+ nibbles: $(OBJS)
+- $(CC) $(LIBS) $(OBJS) -o $@
++ $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
+
+ clean:
+ rm -f *~ *.o nibbles