1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/net-mgmt/wide-dhcp/files/patch-aa
1998-12-05 21:52:21 +00:00

26 lines
729 B
Plaintext

--- client/Makefile.FreeBSD.orig Wed Sep 9 17:08:15 1998
+++ client/Makefile.FreeBSD Sat Dec 5 13:47:04 1998
@@ -2,15 +2,16 @@
OBJ = dhcpc_subr.o flushroute.o getmac.o common_subr.o dhcpc.o
CC = cc
-CFLAGS += -O -I. -I../server -DRETRY_FOREVER #-DMOBILE_IP -DDEBUG
-LDFLAGS = -lkvm
+CFLAGS += -O2 -I. -I../server -DRETRY_FOREVER #-DMOBILE_IP -DDEBUG
+#LDFLAGS = -lkvm
-SBIN = /usr/local/sbin
-LIBEXEC = /usr/local/libexec
-MAN = /usr/local/man
+#PREFIX = /usr/local
+SBIN = $(PREFIX)/sbin
+LIBEXEC = $(PREFIX)/libexec
+MAN = $(PREFIX)/man
CP = /bin/cp
RM = /bin/rm
-GZIP = /usr/bin/gzip
+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD
dhcpc: ${OBJ}
${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}