1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/majordomo/files/patch-aa
Masafumi Max NAKANE 4afd23d6c8 In the distributed Makefile:
TMPDIR = /var/tmp -> TMPDIR?= /var/tmp
Suggested by:	chuckr
1997-01-11 19:56:25 +00:00

45 lines
1.3 KiB
Plaintext

--- Makefile.orig Tue Dec 10 00:41:18 1996
+++ Makefile Sun Jan 12 01:39:10 1997
@@ -12,22 +12,22 @@
#
# Put the location of your Perl binary here:
-PERL = /bin/perl
+PERL = ${PREFIX}/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
@@ -61,11 +61,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.-------------