summaryrefslogtreecommitdiff
path: root/mail/majordomo/files/patch-aa
blob: 09f5d07f42bfe91ac58e83bce21783ccd6ef057f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- Makefile.orig	Wed Aug 27 08:56:21 1997
+++ Makefile	Sat Jul 10 23:28:11 1999
@@ -13,22 +13,22 @@
 #
  
 # Put the location of your Perl binary here:
-PERL = /bin/perl
+PERL = /usr/bin/perl
 
 # What do you call your C compiler?
 CC = cc
  
 # Where do you want Majordomo to be installed?  This CANNOT be the
 # current directory (where you unpacked the distribution)
-W_HOME = /usr/test/majordomo-$(VERSION)
+W_HOME = ${PREFIX}/majordomo
  
 # Where do you want man pages to be installed?
-MAN = $(W_HOME)/man
+MAN = ${PREFIX}/man
  
 # You need to have or create a user and group which majordomo will run as.
 # Enter the numeric UID and GID (not their names!) here:
-W_USER = 123
-W_GROUP = 45
+W_USER = %%MJUID%%
+W_GROUP = %%MJGID%%
 
 # These set the permissions for all installed files and executables (except
 # the wrapper), respectively.  Some sites may wish to make these more
@@ -62,11 +62,11 @@
 # parent process, and without the leading "W_" in the variable names) gets
 # passed to processes run by "wrapper"
 W_SHELL = /bin/sh
-W_PATH = /bin:/usr/bin:/usr/ucb
+W_PATH = /bin:/usr/bin
 W_MAJORDOMO_CF = $(W_HOME)/majordomo.cf
 
 # A directory for temp files..
-TMPDIR = /usr/tmp
+TMPDIR ?= /var/tmp
 
 #--------YOU SHOULDN'T HAVE TO CHANGE ANYTHING BELOW THIS LINE.-------------
 
@@ -103,7 +103,7 @@
 	@echo "    install-scripts: only install the scripts."
 	@echo "    wrapper: only make wrapper."
 
-install: wrapper install-scripts install-cf install-man
+install: wrapper install-scripts install-cf
 	@echo ""
 	@echo "To finish the installation, 'su' to root and type:"
 	@echo ""