From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/bbrun/files: bbrun-1.6-respectflags.patch |
Date: | Fri, 28 May 2010 17:28:44 |
Message-Id: | 20100528172842.111B22CF37@corvid.gentoo.org |
1 | xarthisius 10/05/28 17:28:41 |
2 | |
3 | Added: bbrun-1.6-respectflags.patch |
4 | Log: |
5 | Adding missing dependency and respect user flags. Thanks Patrick for the report and Andrew Brouwers for patch. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-misc/bbrun/files/bbrun-1.6-respectflags.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/bbrun/files/bbrun-1.6-respectflags.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/bbrun/files/bbrun-1.6-respectflags.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: bbrun-1.6-respectflags.patch |
15 | =================================================================== |
16 | Respect {C,LD}FLAGS |
17 | |
18 | --- bbrun/Makefile |
19 | +++ bbrun/Makefile |
20 | @@ -1,7 +1,7 @@ |
21 | CC = gcc |
22 | LIBDIR = -L/usr/lib -L/usr/X11R6/lib |
23 | LIBS = -lXpm `pkg-config --libs gtk+-2.0` |
24 | -CFLAGS = `pkg-config --cflags gtk+-2.0` |
25 | +GTK_CFLAGS = `pkg-config --cflags gtk+-2.0` |
26 | |
27 | OBJS = bbrun.o \ |
28 | ../wmgeneral/wmgeneral.o \ |
29 | @@ -11,10 +11,10 @@ |
30 | all: bbrun |
31 | |
32 | .c.o: |
33 | - $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS) |
34 | + $(CC) $(CFLAGS) $(GTK_CFLAGS) -c -Wall $< -o $*.o |
35 | |
36 | bbrun: $(OBJS) |
37 | - $(CC) -Wall -g -o bbrun $^ $(LIBDIR) $(LIBS) |
38 | + $(CC) $(CFLAGS) $(LDFLAGS) -Wall -o bbrun $^ $(LIBDIR) $(LIBS) |
39 | |
40 | install: |
41 | cp bbrun /usr/local/bin/ |