aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/wbd/files/patch-aa
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-05-12 03:31:14 +0800
committerassar <assar@FreeBSD.org>2001-05-12 03:31:14 +0800
commitc1183e06264e5dd494dfcc2829ba7f735097e3c4 (patch)
tree2fd72911cb7ed9a2b9cef7603a4d753a5b3fd0fe /mbone/wbd/files/patch-aa
parent0f8ac777580ae22e2c572c5382c864b2dee0ab44 (diff)
downloadfreebsd-ports-gnome-c1183e06264e5dd494dfcc2829ba7f735097e3c4.tar.gz
freebsd-ports-gnome-c1183e06264e5dd494dfcc2829ba7f735097e3c4.tar.zst
freebsd-ports-gnome-c1183e06264e5dd494dfcc2829ba7f735097e3c4.zip
wb compatible open source shared whiteboard program
Diffstat (limited to 'mbone/wbd/files/patch-aa')
-rw-r--r--mbone/wbd/files/patch-aa61
1 files changed, 61 insertions, 0 deletions
diff --git a/mbone/wbd/files/patch-aa b/mbone/wbd/files/patch-aa
new file mode 100644
index 000000000000..fd53e111e985
--- /dev/null
+++ b/mbone/wbd/files/patch-aa
@@ -0,0 +1,61 @@
+--- makefile.orig Thu Jan 29 12:46:41 1998
++++ makefile Fri May 11 19:42:18 2001
+@@ -3,12 +3,12 @@
+
+ YFLAGS = -dv
+ CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE
+-LIBDIR = /cs/research/mice/starship/common/solaris/lib
+-INCDIR = /cs/research/mice/starship/common/solaris/include
++LIBDIR = $(PREFIX)/lib
++INCDIR = $(PREFIX)/include
+
+ # The files needed from the tcl/tk library directories...
+-LIBRARY_TK = $(LIBDIR)/tk4.2
+-LIBRARY_TCL = $(LIBDIR)/tcl7.6
++LIBRARY_TK = $(LIBDIR)/tk8.0
++LIBRARY_TCL = $(LIBDIR)/tcl8.0
+
+
+ # Uncomment these lines for SGI (IRIX 5.3).
+@@ -32,10 +32,10 @@
+ #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11
+
+ # Uncomment these lines for Sun (SunOS 5.5.1).
+-CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi
+-LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib
+-IFLAGS = -I$(INCDIR) -I/usr/openwin/include
+-LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 -lsocket -lnsl -ldl
++#CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi
++#LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib
++#IFLAGS = -I$(INCDIR) -I/usr/openwin/include
++#LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 -lsocket -lnsl -ldl
+
+ # Uncomment these lines for NetBSD 1.2.
+ #CC = cc -ansi
+@@ -43,6 +43,12 @@
+ #IFLAGS = -I$(INCDIR)
+ #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11
+
++# Uncomment these lines for FreeBSD
++CC = cc
++LIBFLAGS = -L$(LIBDIR) -L/usr/X11R6/lib
++IFLAGS = -I$(INCDIR)/tk8.0 -I$(INCDIR)/tcl8.0 -I/usr/X11R6/include
++LIBS = -ll -ltk80 -ltcl80 -lm -lX11
++
+ # Tcl initialisation files to be compiled into a C string.
+ TCL_FILES = \
+ $(LIBRARY_TCL)/init.tcl \
+@@ -74,8 +80,13 @@
+ SRC = main.c comms.c db.c wbd.tcl
+ OBJ = main.o comms.o db.o tcllibs.o
+
++all : wbd
++
+ wbd : $(OBJ) $(INC)
+ $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o wbd
++
++install : wbd
++ install -c wbd $(PREFIX)/bin/wbd
+
+ clean :
+ rm -f *.o tcl2c wbd core