blob: 6388895661781429c17b371064755b15a07ebc4b (
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
|
--- Makefile.orig 2000-10-28 10:55:08.000000000 +0200
+++ Makefile 2008-04-12 14:19:18.000000000 +0200
@@ -8,13 +8,12 @@
X11BASE?= /usr/X11R6
LIB= TkSteal
-INTERNALLIB= YES # inhibits unuseful static library
SHLIB_MAJOR= 2
SHLIB_MINOR= 0
NOPROFILE= yes
.if defined(OBJFORMAT) && ${OBJFORMAT} == elf
-LDADD= -L${PREFIX}/lib -ltk82
+LDADD= -L${PREFIX}/lib -ltk84
.endif
SRCS= tkXAccess.c
@@ -25,8 +24,8 @@
PAXFILES= ${SRCS} ${TCL_SRCS} ${HDRS} ${OTHER}
PAXNAME= pib-1.1
-CFLAGS+= -I${PREFIX}/include/tcl8.2 -I${PREFIX}/include/tk8.2 \
- -I${X11BASE}/include \
+CFLAGS+= -I${PREFIX}/include/tcl8.4 -I${PREFIX}/include/tk8.4 \
+ -I${LOCALBASE}/include \
-DUSE_XACCESS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 \
-DSTDC_HEADERS=1 -DTK_FILE_COUNT=_r -DNEED_MATHERR=1 \
-DTK_LIBRARY=\"${PREFIX}/lib/tk8.2\"
|