1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/net/wide-dhcp/files/patch-ae
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

37 lines
1.0 KiB
Plaintext

--- server/Makefile.FreeBSD.orig Tue Jun 11 13:05:48 1996
+++ server/Makefile.FreeBSD Wed Apr 22 01:46:55 1998
@@ -1,13 +1,13 @@
OBJ = dhcps.o database.o hash.o getmac.o common_subr.o \
interface.o delarp.o
-LDFLAGS = -lkvm
-CC = gcc
-CFLAGS = -g -Wall -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
-#CC = cc
-#CFLAGS = -g -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
-SBIN = /usr/local/sbin
-LIBEXEC = /usr/local/libexec
-MAN = /usr/local/man
+LDFLAGS =
+#CC = gcc
+#CFLAGS = -g -Wall -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
+CC = cc
+CFLAGS += -Wall -I. #-DCOMPAT_RFC1541 #-DNOICMPCHK
+SBIN = ${PREFIX}/sbin
+LIBEXEC = ${PREFIX}/libexec
+MAN = ${PREFIX}/man
dhcps: ${OBJ}
${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
@@ -15,11 +15,8 @@
install: dhcps
${INSTALL} -m 755 -s dhcps ${SBIN}/dhcps
cp dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5
- gzip ${MAN}/man5/dhcpdb.pool.5
cp dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5
- gzip ${MAN}/man5/dhcpdb.relay.5
cp dhcps.8 ${MAN}/man8/dhcps.8
- gzip ${MAN}/man8/dhcps.8
clean:
rm -f *~ *.o *core* dhcps