From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-visualization/g3data/files: g3data-1.5.1-makefile.patch |
Date: | Thu, 27 Nov 2008 18:25:25 |
Message-Id: | E1L5lYI-0007OM-Qb@stork.gentoo.org |
1 | bicatali 08/11/27 18:25:22 |
2 | |
3 | Added: g3data-1.5.1-makefile.patch |
4 | Log: |
5 | Removed imlib dependency (bug #249077, thanks Dustin Polke), added pkg-config depend and respect cflags |
6 | (Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-visualization/g3data/files/g3data-1.5.1-makefile.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/g3data/files/g3data-1.5.1-makefile.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/g3data/files/g3data-1.5.1-makefile.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: g3data-1.5.1-makefile.patch |
15 | =================================================================== |
16 | --- Makefile.orig 2008-11-27 18:16:03.000000000 +0000 |
17 | +++ Makefile 2008-11-27 18:17:05.000000000 +0000 |
18 | @@ -1,15 +1,13 @@ |
19 | -CC=gcc |
20 | -CFLAGS=-Wall `pkg-config --cflags gtk+-2.0` |
21 | +MYCFLAGS=-Wall `pkg-config --cflags gtk+-2.0` |
22 | LIBS=`pkg-config --libs gtk+-2.0` |
23 | bindir ?= /usr/bin |
24 | mandir ?= /usr/share/man |
25 | |
26 | .c.o: |
27 | - $(CC) -c $(CFLAGS) $(CPPFLAGS) $< |
28 | + $(CC) -c $(CFLAGS) $(CPPFLAGS) $(MYCFLAGS) $< |
29 | |
30 | g3data: main.o sort.o points.o drawing.o g3data.1.gz |
31 | - $(CC) $(CFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS) |
32 | - strip g3data |
33 | + $(CC) $(CFLAGS) $(MYCFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS) |
34 | |
35 | main.o: main.c main.h strings.h vardefs.h |