openbsd-ports/mail/majordomo/patches/patch-Makefile
2000-05-23 20:17:03 +00:00

23 lines
737 B
Plaintext

--- Makefile.orig Tue Jan 18 11:01:17 2000
+++ Makefile Tue May 23 07:05:24 2000
@@ -63,7 +63,8 @@
# passed to processes run by "wrapper"
W_SHELL = /bin/sh
W_PATH = /bin:/usr/bin:/usr/ucb
-W_MAJORDOMO_CF = $(W_HOME)/majordomo.cf
+W_MAJORDOMO_CF = majordomo.cf
+W_MAJORDOMO_CFDIR = $(W_HOME)/config
# A directory for temp files..
TMPDIR = /usr/tmp
@@ -77,7 +78,8 @@
WRAPPER_FLAGS = -DBIN=\"$(W_HOME)\" -DPATH=\"PATH=$(W_PATH)\" \
-DHOME=\"HOME=$(W_HOME)\" -DSHELL=\"SHELL=$(W_SHELL)\" \
- -DMAJORDOMO_CF=\"MAJORDOMO_CF=$(W_MAJORDOMO_CF)\" \
+ -DMAJORDOMO_CF=\"MAJORDOMO_CF=$(W_MAJORDOMO_CFDIR)/$(W_MAJORDOMO_CF)\" \
+ -DMAJORDOMO_CFDIR=\"MAJORDOMO_CFDIR=$(W_MAJORDOMO_CFDIR)\" \
$(POSIX)
INSTALL = ./install.sh