aboutsummaryrefslogtreecommitdiff
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-Makefile30
1 files changed, 11 insertions, 19 deletions
diff --git a/misc/gman/files/patch-Makefile b/misc/gman/files/patch-Makefile
index 7eccdc105704..f78fbab84826 100644
--- a/misc/gman/files/patch-Makefile
+++ b/misc/gman/files/patch-Makefile
@@ -1,25 +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.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.
+--- Makefile.orig Tue May 21 14:39:34 2002
++++ Makefile Mon Jun 10 12:27:13 2002
+@@ -13,7 +13,7 @@
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) `${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
+- $(CXX) -lgtk -lgdk -lpthread $(GTKLIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
++ $(CXX) `${GTK_CONFIG} --libs gthread` $(GTKLIB) 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
+@@ -52,4 +52,4 @@
+ install -s -m 755 gman $(prefix)/bin
+ install -s -m 755 gman.pl $(prefix)/bin/gman.cgi
+ install -m 644 gman.1x $(prefix)/man/man1
+- install -s -m 755 gman.pl $(ci_bin_prefix)/gman
++ install -s -m 755 gman.pl $(cgi_bin_prefix)/gman