From 52fc2e6b7958261eb4d1af4a74f723984167c933 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Thu, 27 Nov 2008 18:25:22 +0000 Subject: Removed imlib dependency (bug #249077, thanks Dustin Polke), added pkg-config depend and respect cflags (Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64) --- .../g3data/files/g3data-1.5.1-makefile.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sci-visualization/g3data/files/g3data-1.5.1-makefile.patch (limited to 'sci-visualization/g3data/files') 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 + -- cgit v1.2.3-65-gdbad