1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/net/wide-dhcp/files/patch-aa
Masafumi Max NAKANE cf96521a28 Upgrade, 1.3Beta -> 1.4.0p1
Change maintainer to Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp>

PR:		6469
Submitted by:	new maintainer
1998-05-02 15:15:28 +00:00

35 lines
972 B
Plaintext

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