diff options
Diffstat (limited to 'sci-visualization/g3data/files/g3data-1.5.1-makefile.patch')
-rw-r--r-- | sci-visualization/g3data/files/g3data-1.5.1-makefile.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-visualization/g3data/files/g3data-1.5.1-makefile.patch b/sci-visualization/g3data/files/g3data-1.5.1-makefile.patch new file mode 100644 index 000000000000..f83ca596c6e6 --- /dev/null +++ b/sci-visualization/g3data/files/g3data-1.5.1-makefile.patch @@ -0,0 +1,21 @@ +--- Makefile.orig 2008-11-27 18:16:03.000000000 +0000 ++++ Makefile 2008-11-27 18:17:05.000000000 +0000 +@@ -1,15 +1,13 @@ +-CC=gcc +-CFLAGS=-Wall `pkg-config --cflags gtk+-2.0` ++MYCFLAGS=-Wall `pkg-config --cflags gtk+-2.0` + LIBS=`pkg-config --libs gtk+-2.0` + bindir ?= /usr/bin + mandir ?= /usr/share/man + + .c.o: +- $(CC) -c $(CFLAGS) $(CPPFLAGS) $< ++ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(MYCFLAGS) $< + + g3data: main.o sort.o points.o drawing.o g3data.1.gz +- $(CC) $(CFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS) +- strip g3data ++ $(CC) $(CFLAGS) $(MYCFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS) + + main.o: main.c main.h strings.h vardefs.h + |