1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/wide-dhcp/files/patch-aa

35 lines
972 B
Plaintext
Raw Normal View History

--- 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