freebsd-ports/mail/majordomo/files/patch-ac
James FitzGibbon 70de273d7f - Upgrade to v1.94.2
- Change the way that the /usr/lib/sendmail -> /usr/sbin/sendmail patches are stored to make future upgrades of the port easier.
- Change the way that the links in the install dirs were being set up.
1997-04-28 00:37:28 +00:00

29 lines
985 B
Text

--- digest.orig Mon Mar 10 12:11:25 1997
+++ digest Sun Apr 27 20:19:56 1997
@@ -23,7 +23,7 @@
&readconfig;
$TEMP = "$TMPDIR/digest.$$" || "/usr/tmp/digest.$$";
-$sendmail_command = "/usr/lib/sendmail" if ! defined $sendmail_command ;
+$sendmail_command = "/usr/sbin/sendmail" if ! defined $sendmail_command ;
if (defined($opt_r)) {
&receive_message;
@@ -313,7 +313,7 @@
} else {
# Read and execute the .cf file
$cf = $opt_c || $ENV{"MAJORDOMO_CF"} ||
- "/etc/majordomo.cf";
+ "%%PREFIX%%/majordomo/majordomo.cf";
require "$cf";
chdir($homedir);
@@ -325,7 +325,7 @@
# Define all of the mailer properties:
# It is possible that one or both of $sendmail_command and $bounce_mailer
# are not defined, so we provide reasonable defaults.
-$sendmail_command = "/usr/lib/sendmail"
+$sendmail_command = "/usr/sbin/sendmail"
unless defined $sendmail_command;
$bounce_mailer = "$sendmail_command -f\$sender -t"
unless defined $bounce_mailer;