2705e5091e
Extract from DESCR: Deliver allows any user to write a shell script that processes all incoming mail messages for that user. The system administrator may also install scripts that process all messages. The output of a script is a list of mail addresses, files and programs that should receive the message. It has access to each message as it is processed, so the action can be content dependent. The script may also generate automatic replies, like the "vacation" program, or pass along a modified version of the original message.
40 lines
998 B
Text
40 lines
998 B
Text
$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.
|