aboutsummaryrefslogtreecommitdiff
path: root/net/wide-dhcp/files/patch-aa
blob: 90a59ac0e17e14d1140b4e10c931f775e3c88765 (plain) (blame)
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
--- client/Makefile.FreeBSD.orig	Fri Apr 11 03:50:34 1997
+++ client/Makefile.FreeBSD	Wed Apr 22 01:46:22 1998
@@ -1,15 +1,15 @@
 INCLUDE = ../server/dhcp.h dhcpc.h common.h ../server/common_subr.h dhcpc_subr.h
 OBJ = dhcpc_subr.o flushroute.o getmac.o common_subr.o dhcpc.o
 
-CC = gcc
-CFLAGS = -Wall -g -I. -I../server -DRETRY_FOREVER #-DDEBUG
-#CC = cc
-#CFLAGS = -g -I. -I../server -DRETRY_FOREVER #-DDEBUG
-LDFLAGS = -lkvm
+#CC = gcc
+#CFLAGS = -Wall -g -I. -I../server -DRETRY_FOREVER #-DDEBUG
+CC = cc
+CFLAGS += -Wall -I. -I../server -DRETRY_FOREVER #-DDEBUG
+LDFLAGS =
 
-BIN = 		/usr/local/sbin
-LIBEXEC =	/usr/local/libexec
-MAN =		/usr/local/man
+SBIN = 		${PREFIX}/sbin
+LIBEXEC =	${PREFIX}/libexec
+MAN =		${PREFIX}/man
 
 dhcpc: ${OBJ}
 	${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}
@@ -17,7 +17,6 @@
 install: dhcpc
 	${INSTALL} -m 755 -s dhcpc ${SBIN}/dhcpc
 	cp dhcpc.8 ${MAN}/man8/dhcpc.8
-	gzip ${MAN}/man8/dhcpc.8
 
 clean:
 	rm -f *~ *.o *core* dhcpc