blob: 37ed98c6b5903df549bfe20129714a706fca23bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$NetBSD: patch-aa,v 1.3 2012/08/21 21:51:07 marino Exp $
Patch hardcoded with libtcl85. Previously it was hardcoded to libtcl84.
--- makefile.orig 1998-01-29 11:46:41.000000000 +0000
+++ makefile 2005-12-22 16:43:59.000000000 +0000
@@ -3,12 +3,13 @@
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 = ${PREFIIX}/include
+LIBS = -ll -ltk85 -ltcl85 -lm -lX11 -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
# The files needed from the tcl/tk library directories...
-LIBRARY_TK = $(LIBDIR)/tk4.2
-LIBRARY_TCL = $(LIBDIR)/tcl7.6
+LIBRARY_TK = $(LIBDIR)/tk8.5
+LIBRARY_TCL = $(LIBDIR)/tcl8.5
# Uncomment these lines for SGI (IRIX 5.3).
@@ -32,10 +33,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
|