summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch')
-rw-r--r--app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch b/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch
new file mode 100644
index 000000000000..7a06bca630a4
--- /dev/null
+++ b/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS_and_CC.patch
@@ -0,0 +1,29 @@
+--- Makefile.gnu.orig 2006-11-02 09:54:08.000000000 +0100
++++ Makefile.gnu 2008-10-14 01:45:25.000000000 +0200
+@@ -26,7 +26,7 @@
+ WARN=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-align
+ OPT=-O -g
+
+-CFLAGS=${INC} ${DEF} ${WARN} ${OPT}
++CLAGS=${INC} ${DEF} ${WARN} ${OPT} ${CFLAGS}
+ LFLAGS=${OPT} ${LBL}
+
+ LIBEXPAT=-lexpat
+@@ -106,6 +106,6 @@
+ .SUFFIXES: .c .o
+
+ .c.o:
+- ${CC} ${CFLAGS} -c -o $@ $<
++ ${CC} ${CLAGS} -c -o $@ $<
+
+ all: rnv arx rvp xsdck test
+
+--- Makefile.gnu.orig 2008-10-27 20:08:38.000000000 +0100
++++ Makefile.gnu 2008-10-27 20:08:56.000000000 +0100
+@@ -1,6 +1,5 @@
+
+ VERSION=1.7.8
+-CC=cc
+
+ # optional features
+ M_STATIC=0