summaryrefslogtreecommitdiff
path: root/chat/i2cb/patches/patch-aa
blob: 582f6a0e78b1586f04043ec5ef331ae7475ec9ff (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
40
41
42
43
44
$NetBSD: patch-aa,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $

--- config.orig	Sun Mar 12 02:51:52 2000
+++ config
@@ -7,31 +7,31 @@
 #
 
 # Directory where the client will be installed.
-BINDIR		= /usr/local/bin
+BINDIR		= ${LOCALBASE}/bin
 
 # Directory where the manual page will be installed.
-MANDIR		= /usr/local/man
+MANDIR		= ${LOCALBASE}/man
 
 # Directory for support files
-LIBDIR = /usr/local/lib
+LIBDIR = ${LOCALBASE}/lib
 
 # Compiler to use.
-CC		= cc
+CC		?= cc
 
 # Compile options.
-CFLAGS		= -Wall -Werror -g -I/usr/pkg/include -I/usr/pkg/include/tcl8.0
+CFLAGS		+= -Wall -Werror -g -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl/generic -DLOCALBASE=\"${LOCALBASE}\"
 
 # Lint flags
-LFLAGS		= -uvberxHz -I/usr/pkg/include -I/usr/pkg/include/tcl8.0
+LFLAGS		+= -uvberxHz -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl/generic -DLOCALBASE=\"${LOCALBASE}\"
 
 # Other libraries to include.
-OTHERLIBS	=-L/usr/pkg/lib -ltcl80 -lreadline -lcurses -ltermcap -lm
+OTHERLIBS	+=-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -ltcl83 -lreadline -lcurses -ltermcap -lm
 
 # Makefile dependency generator.
 MAKEDEPEND	= mkdep
 
 # Makefile dependency generator.
-DEPENDFLAGS	=   -I/usr/pkg/include -I/usr/pkg/include/tcl8.0
+DEPENDFLAGS	=   -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl/generic
 
 # Hostname and port of remote server.
 DEFAULTHOST	= himring.draga.com