From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-arcade/cavezofphear/files: cavezofphear-0.5-gentoo.patch |
Date: | Fri, 30 Jan 2009 16:35:55 |
Message-Id: | E1LSwLP-00037o-Ty@stork.gentoo.org |
1 | tupone 09/01/30 16:35:51 |
2 | |
3 | Added: cavezofphear-0.5-gentoo.patch |
4 | Log: |
5 | Fix --as-needed bug #247299 |
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/cavezofphear/files/cavezofphear-0.5-gentoo.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/files/cavezofphear-0.5-gentoo.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/cavezofphear/files/cavezofphear-0.5-gentoo.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: cavezofphear-0.5-gentoo.patch |
15 | =================================================================== |
16 | --- src/Makefile.old 2009-01-30 17:22:01.000000000 +0100 |
17 | +++ src/Makefile 2009-01-30 17:24:52.000000000 +0100 |
18 | @@ -2,10 +2,8 @@ |
19 | |
20 | DESTDIR = .. |
21 | |
22 | -CC = gcc |
23 | INSTALL = install |
24 | -CFLAGS = -s -Wall -O2 |
25 | -LDFLAGS = -lncurses |
26 | +LDLIBS = -lncurses |
27 | |
28 | all: phear install clean |
29 | |
30 | @@ -13,7 +11,7 @@ |
31 | $(CC) $(CFLAGS) -c $^ -o $@ |
32 | |
33 | phear: $(OBJS) |
34 | - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ |
35 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) |
36 | |
37 | install: install-game |