From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-arcade/nibbles/files: nibbles-0.0.4-as-needed.patch |
Date: | Mon, 02 Feb 2009 11:41:37 |
Message-Id: | E1LTxBG-0003nI-AG@stork.gentoo.org |
1 | tupone 09/02/02 11:41:34 |
2 | |
3 | Added: nibbles-0.0.4-as-needed.patch |
4 | Log: |
5 | Fix --as-needed bug #247304 |
6 | (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: nibbles-0.0.4-as-needed.patch |
15 | =================================================================== |
16 | --- Makefile.old 2009-02-02 12:40:36.000000000 +0100 |
17 | +++ Makefile 2009-02-02 12:41:22.000000000 +0100 |
18 | @@ -1,19 +1,14 @@ |
19 | -CC = gcc -Wall -g |
20 | - |
21 | SRCS = player.c main.c loadMap.c cmdline.c ncdrawlib.c scoring.c |
22 | OBJS = $(SRCS:.c=.o) |
23 | -LIBS = -lncurses |
24 | +LDLIBS = -lncurses |
25 | |
26 | INSTALL=/usr/bin/install -c |
27 | INSTALL_FOLDER=/usr/games |
28 | |
29 | all: nibbles |
30 | |
31 | -.c.o: |
32 | - $(CC) -c $*.c -o $*.o |
33 | - |
34 | nibbles: $(OBJS) |
35 | - $(CC) $(LIBS) $(OBJS) -o $@ |
36 | + $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@ |
37 | |
38 | clean: |
39 | rm -f *~ *.o nibbles |