summaryrefslogtreecommitdiff
path: root/chat/tzc/patches/patch-aa
blob: e45dff9de166e30d23d20606889ff1200fd6c76f (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
$NetBSD: patch-aa,v 1.1.1.1 2002/12/30 17:41:04 sommerfeld Exp $

--- Makefile.orig	Tue Jul 10 22:17:31 2001
+++ Makefile
@@ -1,11 +1,11 @@
 # Configure as appropriate.
 
-KERB_INCLUDES = -I/usr/local/include
-KERB_LIBDIR = /usr/local/lib
+KERB_INCLUDES = -I${LOCALBASE}/include
+KERB_LIBDIR = ${LOCALBASE}/lib
 KERB_LIBS = -L$(KERB_LIBDIR) -lkrb -ldes -lcom_err
 
-ZEPHYR_INCLUDES = -I/usr/local/include
-ZEPHYR_LIBDIR = /usr/local/lib
+ZEPHYR_INCLUDES = -I${LOCALBASE}/include
+ZEPHYR_LIBDIR = ${LOCALBASE}/lib
 ZEPHYR_LIBS = -L$(ZEPHYR_LIBDIR) -lzephyr
 
 # You may need to use these to pick up some BSD'ish functions like flock().
@@ -29,6 +29,8 @@ CFLAGS = -g -O -Wall $(DEFINES) $(INCLUD
 
 LIBS = $(ZEPHYR_LIBS) $(KERB_LIBS) $(MISC_LIBS)
 
+all: tzc
+
 tzc: tzc.o lread.o $(EXTRA_OBJS)
 	$(LD) $(LDFLAGS) -o tzc.new tzc.o lread.o $(EXTRA_OBJS) $(LIBS)
 	/bin/mv tzc.new tzc
@@ -38,3 +40,6 @@ tzc.o: lread.h
 
 clean:
 	/bin/rm -f *.o tzc tzc.new core
+
+install:
+	${INSTALL} tzc ${LOCALBASE}/bin/tzc