From: | "Christian Faulhammer (opfer)" <opfer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/rnv/files: rnv-1.7.8-respect-CFLAGS_and_CC.patch rnv-1.7.8-respect-CFLAGS.patch |
Date: | Mon, 27 Oct 2008 19:14:26 |
Message-Id: | E1KuXXj-0005Du-6e@stork.gentoo.org |
1 | opfer 08/10/27 19:14:23 |
2 | |
3 | Added: rnv-1.7.8-respect-CFLAGS_and_CC.patch |
4 | Removed: rnv-1.7.8-respect-CFLAGS.patch |
5 | Log: |
6 | respect CC variable, thanks to flameeyes in bug 243746 |
7 | (Portage version: 2.1.4.5) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: rnv-1.7.8-respect-CFLAGS_and_CC.patch |
16 | =================================================================== |
17 | --- Makefile.gnu.orig 2006-11-02 09:54:08.000000000 +0100 |
18 | +++ Makefile.gnu 2008-10-14 01:45:25.000000000 +0200 |
19 | @@ -26,7 +26,7 @@ |
20 | WARN=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-align |
21 | OPT=-O -g |
22 | |
23 | -CFLAGS=${INC} ${DEF} ${WARN} ${OPT} |
24 | +CLAGS=${INC} ${DEF} ${WARN} ${OPT} ${CFLAGS} |
25 | LFLAGS=${OPT} ${LBL} |
26 | |
27 | LIBEXPAT=-lexpat |
28 | @@ -106,6 +106,6 @@ |
29 | .SUFFIXES: .c .o |
30 | |
31 | .c.o: |
32 | - ${CC} ${CFLAGS} -c -o $@ $< |
33 | + ${CC} ${CLAGS} -c -o $@ $< |
34 | |
35 | all: rnv arx rvp xsdck test |
36 | |
37 | --- Makefile.gnu.orig 2008-10-27 20:08:38.000000000 +0100 |
38 | +++ Makefile.gnu 2008-10-27 20:08:56.000000000 +0100 |
39 | @@ -1,6 +1,5 @@ |
40 | |
41 | VERSION=1.7.8 |
42 | -CC=cc |
43 | |
44 | # optional features |
45 | M_STATIC=0 |