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

34 lines
977 B
Plaintext

--- relay/Makefile.FreeBSD.orig Tue Feb 25 17:48:32 1997
+++ relay/Makefile.FreeBSD Wed Apr 22 01:46:06 1998
@@ -1,12 +1,12 @@
OBJ = relay.o getmac.o common_subr.o interface.o
-CC = gcc
-CFLAGS = -g -Wall -I. -I../server
-#CC = cc
-#CFLAGS = -g -I. -I../server
-LDFLAGS = -lkvm
-SBIN = /usr/local/sbin
-LIBEXEC = /usr/local/libexec
-MAN = /usr/local/man
+#CC = gcc
+#CFLAGS = -g -Wall -I. -I../server
+CC = cc
+CFLAGS += -Wall -I. -I../server
+LDFLAGS =
+SBIN = ${PREFIX}/sbin
+LIBEXEC = ${PREFIX}/libexec
+MAN = ${PREFIX}/man
relay: ${OBJ}
${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}
@@ -14,9 +14,7 @@
install: relay
${INSTALL} -m 755 -s relay ${SBIN}/relay
cp relay.8 ${MAN}/man8/relay.8
- gzip ${MAN}/man8/relay.8
cp dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5
- gzip ${MAN}/man5/dhcpdb.server.5
relay.o: relay.c common.h ../server/dhcp.h ../server/common_subr.h
common_subr.o: ../server/common_subr.c ../server/dhcp.h common.h ../server/common_subr.h