1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net-mgmt/wide-dhcp/files/patch-aa

26 lines
729 B
Plaintext
Raw Normal View History

1998-12-05 11:24:05 +00:00
--- 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
1998-12-05 11:24:05 +00:00
-SBIN = /usr/local/sbin
-LIBEXEC = /usr/local/libexec
-MAN = /usr/local/man
1998-12-05 11:24:05 +00:00
+#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}