$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 14:06:05 wiz Exp $ --- Makefile.orig Wed Dec 1 20:53:49 1999 +++ Makefile Sat Jan 29 15:21:49 2000 @@ -74,13 +74,12 @@ #DELHOME = /usr/deliver #HDEFS = -DDELHOME=\"$(DELHOME)\" UDEFS = -OSHEADER = os-dummy.h +OSHEADER = os-netbsd.h DEFS = -Iconf -DOSINCLUDE=\"$(OSHEADER)\" $(HDEFS) $(UDEFS) -CFLAGS = -O $(DEFS) -LDFLAGS = +CFLAGS += $(DEFS) LIBS = LINT = lint -x -BIN = /usr/bin +BIN = ${PREFIX}/bin #BIN = $(DELHOME)/bin GROUP = root @@ -154,16 +153,8 @@ chmod 755 $$d ) || exit 1; \ done ;; \ esac - rm -f $(BIN)/deliver.O - -mv $(BIN)/deliver $(BIN)/deliver.O - $(COPY) deliver $(BIN)/deliver - chgrp $(GROUP) $(BIN)/deliver - chown root $(BIN)/deliver - chmod 4711 $(BIN)/deliver - rm -f $(BIN)/header.O - -mv $(BIN)/header $(BIN)/header.O - $(COPY) header $(BIN)/header - chmod 755 $(BIN)/header + ${BSD_INSTALL_PROGRAM} -m 0511 deliver ${BIN} + ${BSD_INSTALL_PROGRAM} header ${BIN} # # How to compile and link the program.