summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch')
-rw-r--r--app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch b/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch
new file mode 100644
index 000000000000..85ef49e8619f
--- /dev/null
+++ b/app-text/rnv/files/rnv-1.7.8-respect-CFLAGS.patch
@@ -0,0 +1,20 @@
+--- 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,7 +106,7 @@
+ .SUFFIXES: .c .o
+
+ .c.o:
+- ${CC} ${CFLAGS} -c -o $@ $<
++ ${CC} ${CLAGS} -c -o $@ $<
+
+ all: rnv arx rvp xsdck test
+