freebsd-ports/net-mgmt/wide-dhcp/files/patch-ag
1998-12-05 11:24:05 +00:00

23 lines
555 B
Plaintext

--- relay/Makefile.FreeBSD.orig Wed Sep 10 18:10:42 1997
+++ relay/Makefile.FreeBSD Sat Dec 5 03:08:30 1998
@@ -2,13 +2,14 @@
CC = cc
CFLAGS += -O -I. -I../server
-LDFLAGS = -lkvm
-SBIN = /usr/local/sbin
-LIBEXEC = /usr/local/libexec
-MAN = /usr/local/man
+#LDFLAGS = -lkvm
+#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
relay: ${OBJ}
${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}