summaryrefslogtreecommitdiff
path: root/graphics/togl/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-14 10:00:14 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-14 10:00:14 +0000
commit8e343fe5d52e655dc839f791ce445c3eaaae8baf (patch)
tree454114d5b16529b57d3594f36e4b6ff769556237 /graphics/togl/files
parentImprove patch that fixes libglade problems with newest gnomedb. (diff)
- Unbroke with threaded Mesa;
- use tcl/tk 8.3 instead of obsolete 8.2. Submitted by: bento
Diffstat (limited to 'graphics/togl/files')
-rw-r--r--graphics/togl/files/patch-aa17
1 files changed, 10 insertions, 7 deletions
diff --git a/graphics/togl/files/patch-aa b/graphics/togl/files/patch-aa
index 1d1d262e8f5b..dabd0a90f2e7 100644
--- a/graphics/togl/files/patch-aa
+++ b/graphics/togl/files/patch-aa
@@ -1,5 +1,8 @@
---- Makefile.orig Thu Mar 12 13:11:26 1998
-+++ Makefile Thu Aug 10 21:13:42 2000
+
+$FreeBSD$
+
+--- Makefile.orig Thu Mar 12 06:11:26 1998
++++ Makefile Tue Aug 14 12:52:23 2001
@@ -58,26 +58,30 @@
@@ -24,9 +27,9 @@
-# Where to find tcl.h, tk.h, OpenGL/Mesa headers, etc:
-INCLUDES = -I/usr/local/include -I/usr/include/tcl
+# Where to find tc.hl, tk.h, OpenGL/Mesa headers, etc:
-+INCLUDES = -I${LOCALBASE}/include/tcl8.2 \
-+ -I${LOCALBASE}/include/tk8.2 \
-+ -I${LOCALBASE}/include/tk8.2/generic \
++INCLUDES = -I${LOCALBASE}/include/tcl8.3 \
++ -I${LOCALBASE}/include/tk8.3 \
++ -I${LOCALBASE}/include/tk8.3/generic \
+ -I${X11BASE}/include
# Where to find libtcl.a, libtk.a, OpenGL/Mesa libraries:
@@ -36,7 +39,7 @@
# Libraries to link with (-ldl for Linux only?):
-LIBS = -ltk -ltcl -lGLU -lGL -L/usr/X11/lib -lX11 -lXmu -lXext -lXt -lm -ldl
-+LIBS = -ltk82 -ltcl82 -lGLU -lGL -lX11 -lXmu -lXext -lXt -lm
++LIBS = -ltk83 -ltcl83 -lGLU -lGL -lX11 -lXmu -lXext -lXt -lm $(PTHREAD_LIBS)
TK_FLAGS =
@@ -45,7 +48,7 @@
-CFLAGS = $(COPTS) $(INCLUDES) $(TK_FLAGS)
-+CFLAGS += $(COPTS) $(INCLUDES) $(TK_FLAGS)
++CFLAGS += $(COPTS) $(INCLUDES) $(TK_FLAGS) $(PTHREAD_CFLAGS)
LFLAGS = $(LIBDIRS)