summaryrefslogtreecommitdiff
path: root/converters/gbase/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/gbase/files/patch-Makefile')
-rw-r--r--converters/gbase/files/patch-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/converters/gbase/files/patch-Makefile b/converters/gbase/files/patch-Makefile
new file mode 100644
index 000000000000..fa072f196531
--- /dev/null
+++ b/converters/gbase/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Fri Sep 7 22:10:42 2001
++++ Makefile Fri Sep 7 22:20:26 2001
+@@ -1,6 +1,7 @@
+-CC = gcc
+-CCFLAGS = `gtk-config --cflags`
+-LDFLAGS = `gtk-config --libs`
++CFLAGS += `${GTK_CONFIG} --cflags`
++LDFLAGS = `${GTK_CONFIG} --libs`
++
++all: gbase
+
+ gbase: gbase.o
+ $(CC) gbase.o $(LDFLAGS) -o gbase
+@@ -10,6 +11,6 @@
+
+ # Make object files:
+ %.o:
+- $(CC) $(CCFLAGS) -c $*.c
++ $(CC) $(CFLAGS) -c $*.c
+
+-gbase.o: gbase.c
++gbase.o: gbase.c