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

24 lines
585 B
Plaintext

--- tools/Makefile.FreeBSD.orig Wed Sep 10 17:08:04 1997
+++ tools/Makefile.FreeBSD Sat Dec 5 03:09:52 1998
@@ -1,8 +1,9 @@
CC = gcc
CFLAGS = -O -I. -I../server
-SBIN = /usr/local/sbin
-LIBEXEC = /usr/local/libexec
-MAN = /usr/local/man
+#PREFIX = /usr/local
+SBIN = ${PREFIX}/sbin
+LIBEXEC = ${PREFIX}/libexec
+MAN = ${PREFIX}/man
dhcpm: dhcpm.c ../server/dhcp.h
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
@@ -10,7 +11,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