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-aq
Brian Somers b98a2e6435 Update wide-dhcp so that it compiles with the new
interface stuff (and if_var.h).

Closes pr3161

Submitted by:	MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
Obtained from:  pr3161
1997-04-04 02:20:28 +00:00

25 lines
575 B
Plaintext

--- tools/Makefile.FreeBSD.orig Mon Oct 9 15:00:53 1995
+++ tools/Makefile.FreeBSD Fri Mar 28 17:27:46 1997
@@ -1,10 +1,18 @@
-CC = gcc
-CFLAGS = -g -Wall -I. -I../server
-#CC = cc
+#CC = gcc
+CFLAGS += -Wall -I. -I../server
+CC = cc
#CFLAGS = -g -I. -I../server
+SBIN= ${PREFIX}/sbin
+LIBEXEC= ${PREFIX}/libexec
+MAN= ${PREFIX}/man
dhcpm: dhcpm.c ../server/dhcp.h
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
+
+install: dhcpm
+ ${INSTALL} -c -m 755 -s dhcpm ${SBIN}/dhcpm
+ cp dhcpm.8 ${MAN}/man8/dhcpm.8
+ gzip -9nf ${MAN}/man8/dhcpm.8
clean:
rm -rf *~ *.o *core* dhcpm