summaryrefslogtreecommitdiff
path: root/ports-mgmt/pib/files/patch-Makefile
blob: e56a5d061776fa4ed937b499e31713d76db194dc (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
--- Makefile.orig	Sat Oct 28 10:55:08 2000
+++ Makefile	Thu Mar 15 20:10:02 2007
@@ -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,7 +24,7 @@
 PAXFILES=	${SRCS} ${TCL_SRCS} ${HDRS} ${OTHER}
 PAXNAME=	pib-1.1
 
-CFLAGS+=	-I${PREFIX}/include/tcl8.2 -I${PREFIX}/include/tk8.2 \
+CFLAGS+=	-I${PREFIX}/include/tcl8.4 -I${PREFIX}/include/tk8.4 \
 		-I${X11BASE}/include \
 		-DUSE_XACCESS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 \
 		-DSTDC_HEADERS=1 -DTK_FILE_COUNT=_r -DNEED_MATHERR=1 \