summaryrefslogtreecommitdiff
path: root/misc/gman/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gman/files/patch-Makefile')
-rw-r--r--misc/gman/files/patch-Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/misc/gman/files/patch-Makefile b/misc/gman/files/patch-Makefile
index c2911895df6f..7eccdc105704 100644
--- a/misc/gman/files/patch-Makefile
+++ b/misc/gman/files/patch-Makefile
@@ -1,23 +1,25 @@
---- Makefile.orig Sat Mar 31 00:33:31 2001
-+++ Makefile Sat Mar 31 00:34:53 2001
-@@ -1,17 +1,17 @@
+--- Makefile.orig Sat Mar 31 19:05:24 2001
++++ Makefile Sat Apr 14 04:19:15 2001
+@@ -1,18 +1,18 @@
# Gman Makefile
# You can adjust the following variables.
- CXX = g++
--CXXFLAGS = -DVERSION=\"0.9.0\" `gtk-config --cflags` -O2 #-Wall
-+CXXFLAGS += -DVERSION=\"0.9.0\" `${GTK_CONFIG} --cflags`
+-CXX = g++
+-CXXFLAGS = -DVERSION=\"0.9.2\" `gtk-config --cflags` -O2 #-Wall
++CXX ?= g++
++CXXFLAGS += -DVERSION=\"0.9.2\" `${GTK_CONFIG} --cflags gthread` #-Wall
CC = $(CXX) $(CXXFLAGS)
GNOMELIB = #`gnome-config --libs gnomeui`
-prefix = /usr
+prefix = ${PREFIX}
+ cgi_bin_prefix = /home/httpd/cgi-bin
# There shouldn't be any need to edit anything below this point.
all: gman
gman: menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o
- $(CC) -lgtk -lgdk -lpthread $(GNOMELIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
-+ $(CC) -lpthread `${GTK_CONFIG} --libs` $(GNOMELIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
++ $(CC) `${GTK_CONFIG} --libs gthread` $(GNOMELIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
gman.o: gman.c menu.h
$(CC) -c gman.c