1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/net/isc-dhcp2/files/patch-ab
Paul Traina a6621d4552 Serves me right for committing work I hadn't looked at in over a month.
This cleans up everything, installs man pages properly, et al.

The dhcp client is not installed, since it is not yet functional.
1997-01-14 20:16:10 +00:00

88 lines
1.9 KiB
Plaintext

*** Makefile.dist Fri Nov 8 12:28:18 1996
--- Makefile.dist Tue Jan 14 12:07:47 1997
***************
*** 119,127 ****
##--bsdos--
## FreeBSD
! ##--freebsd--
! #CF = cf/freebsd.h
! ##--freebsd--
## NetBSD
##--netbsd--
--- 119,136 ----
##--bsdos--
## FreeBSD
! ##--freebsd--
! #CF = cf/freebsd.h
! #COPTS = -Wall -Wstrict-prototypes -Wno-unused -Wno-implicit -Wno-comment \
! # -Wno-uninitialized -Werror
! #PREFIX ?= /usr/local
! #BINDIR = ${PREFIX}/sbin
! #CATMANPAGES = dhcpd.out8 dhcpd.conf.out5
! #ADMMANDIR = ${PREFIX}/man/man8
! #ADMMANEXT = .8
! #FFMANDIR = ${PREFIX}/man/man5
! #FFMANEXT = .5
! ##--freebsd--
## NetBSD
##--netbsd--
***************
*** 196,202 ****
MAN = dhcpd.8 dhcpd.conf.5
DEBUG = -g
! CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
all: dhcpd dhclient dhcpxlt $(CATMANPAGES)
--- 205,211 ----
MAN = dhcpd.8 dhcpd.conf.5
DEBUG = -g
! CFLAGS += $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
all: dhcpd dhclient dhcpxlt $(CATMANPAGES)
***************
*** 214,222 ****
mkdir $(VARDB); \
chmod 755 $(VARDB); \
fi
! $(MANINSTALL) $(MANFROM) dhcpd.cat8 $(MANTO) \
$(ADMMANDIR)/dhcpd$(ADMMANEXT)
! $(MANINSTALL) $(MANFROM) dhcpd.conf.cat5 $(MANTO) \
$(FFMANDIR)/dhcpd.conf$(FFMANEXT)
clean:
--- 223,231 ----
mkdir $(VARDB); \
chmod 755 $(VARDB); \
fi
! $(MANINSTALL) $(MANFROM) dhcpd.out8 $(MANTO) \
$(ADMMANDIR)/dhcpd$(ADMMANEXT)
! $(MANINSTALL) $(MANFROM) dhcpd.conf.out5 $(MANTO) \
$(FFMANDIR)/dhcpd.conf$(FFMANEXT)
clean:
***************
*** 239,244 ****
--- 248,261 ----
dhcpd.conf.cat5: dhcpd.conf.5
nroff -man dhcpd.conf.5 >dhcpd.conf.cat5
+
+ dhcpd.out8: dhcpd.8
+ sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \
+ -e "s#RUNDIR#$(VARRUN)#" < dhcpd.8 >dhcpd.out8
+
+ dhcpd.conf.out5: dhcpd.conf.5
+ cp dhcpd.conf.5 dhcpd.conf.out5
+
dhcpd: $(OBJS) $(COBJ)
$(CC) $(LFLAGS) -o dhcpd $(OBJS) $(COBJ) $(LIBS)