Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/yeahconsole/files: yeahconsole-0.3.4-make.patch
Date: Thu, 26 Feb 2009 15:20:46
Message-Id: E1Lci2W-0002PY-3Y@stork.gentoo.org
1 jer 09/02/26 15:20:44
2
3 Modified: yeahconsole-0.3.4-make.patch
4 Log:
5 Slightly nicer patch to apply CFLAGS as intended and to apply CFLAGS and LDFLAGS to TARGET was well.
6 (Portage version: 2.2_rc23/cvs/Linux i686)
7
8 Revision Changes Path
9 1.3 x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch?r1=1.2&r2=1.3
14
15 Index: yeahconsole-0.3.4-make.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- yeahconsole-0.3.4-make.patch 25 Feb 2009 17:09:05 -0000 1.2
22 +++ yeahconsole-0.3.4-make.patch 26 Feb 2009 15:20:44 -0000 1.3
23 @@ -1,5 +1,5 @@
24 --- yeahconsole-0.3.4/Makefile.orig 2006-01-14 16:54:05.000000000 +0100
25 -+++ yeahconsole-0.3.4/Makefile 2009-02-25 17:12:05.000000000 +0100
26 ++++ yeahconsole-0.3.4/Makefile 2009-02-26 16:18:25.000000000 +0100
27 @@ -1,6 +1,4 @@
28 TARGET = yeahconsole
29 -CC = gcc
30 @@ -7,22 +7,24 @@
31 INSTALL = install
32
33 PREFIX = /usr/local
34 -@@ -8,17 +6,15 @@
35 +@@ -8,17 +6,16 @@
36 LIBS = -lX11
37 INCLUDES = -I/usr/X11R6/include
38 LIB_DIRS = -L/usr/X11R6/lib
39 -FLAGS = -Os -Wall
40 ++FLAGS = -Wall $(CFLAGS)
41
42 OBJECTS := yeahconsole.o
43 SOURCES := yeahconsole.c
44
45 $(TARGET): $(OBJECTS)
46 - $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
47 +- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
48 - strip $@
49 ++ $(CC) $(FLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
50
51 $(OBJECTS): $(SOURCES)
52 - $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
53 -+ $(CC) $(CFLAGS) -Wall $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
54 ++ $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
55
56 clean:
57 rm -rf $(TARGET) $(OBJECTS)