aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-03-06 11:31:44 +0800
committerache <ache@FreeBSD.org>2002-03-06 11:31:44 +0800
commit9132f7b9268c673a8c8983dab5d234fbf0d3ec3b (patch)
treea14256830caf993de538941f79f3785c6a4ef175 /mail
parent42d08da274bfe374e09951f2bdcf239f1fbdcef1 (diff)
downloadfreebsd-ports-gnome-9132f7b9268c673a8c8983dab5d234fbf0d3ec3b.tar.gz
freebsd-ports-gnome-9132f7b9268c673a8c8983dab5d234fbf0d3ec3b.tar.zst
freebsd-ports-gnome-9132f7b9268c673a8c8983dab5d234fbf0d3ec3b.zip
Oops, wrong version of this patch committed, fixed.
Diffstat (limited to 'mail')
-rw-r--r--mail/ricochet/files/patch-ricochet14
1 files changed, 12 insertions, 2 deletions
diff --git a/mail/ricochet/files/patch-ricochet b/mail/ricochet/files/patch-ricochet
index 2585c80387e8..c5d4253728fe 100644
--- a/mail/ricochet/files/patch-ricochet
+++ b/mail/ricochet/files/patch-ricochet
@@ -1,5 +1,5 @@
---- ricochet.orig Wed Mar 6 06:10:54 2002
-+++ ricochet Wed Mar 6 06:12:13 2002
+--- ricochet.old Thu Feb 8 22:23:19 2001
++++ ricochet Wed Mar 6 06:29:48 2002
@@ -233,7 +233,15 @@
unless ($hdata eq '') {
$hdata =~ s/\n*$//;
@@ -44,3 +44,13 @@
grep {
if (_nslookup ($_)) {
$auth = 1;
+@@ -574,7 +595,8 @@
+
+ sub initialize {
+ my $self = shift;
+- my $rc = "$ENV{RICOCHET}" || "$ENV{HOME}/.ricochet"; $rc .= "/ricochetrc";
++ my $rc = "$ENV{RICOCHET}" || -d "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet";
++ $rc .= "/ricochetrc";
+ Carp::croak "** Ricochet configuration file $rc doesn't exist. Aborting.\n" unless -e $rc;
+ open (RC, $rc);
+ grep {