1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/net/wide-dhcp/files/patch-aq

29 lines
700 B
Plaintext
Raw Normal View History

--- tools/Makefile.FreeBSD.orig Tue Jun 4 12:30:49 1996
+++ tools/Makefile.FreeBSD Wed Apr 22 01:47:54 1998
@@ -1,10 +1,10 @@
-CC = gcc
-CFLAGS = -g -Wall -I. -I../server
-#CC = cc
-#CFLAGS = -g -I. -I../server
-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
+SBIN = ${PREFIX}/sbin
+LIBEXEC = ${PREFIX}/libexec
+MAN = ${PREFIX}/man
dhcpm: dhcpm.c ../server/dhcp.h
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
@@ -12,7 +12,6 @@
install: dhcpm
${INSTALL} -m 755 -s dhcpm ${SBIN}/dhcpm
cp dhcpm.8 ${MAN}/man8/dhcpm.8
- gzip ${MAN}/man8/dhcpm.8
clean:
rm -rf *~ *.o *core* dhcpm