diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-12-14 15:26:22 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-12-14 15:26:22 +0800 |
commit | 2e12c0cd80aa2477f64d9443346f74f513803932 (patch) | |
tree | cdb06c5664c0a9dea7c2969029d6cca968306327 /mail/ricochet | |
parent | 5f043e6d2049cc7fca06e12e5a718ee99b1c9157 (diff) | |
download | freebsd-ports-gnome-2e12c0cd80aa2477f64d9443346f74f513803932.tar.gz freebsd-ports-gnome-2e12c0cd80aa2477f64d9443346f74f513803932.tar.zst freebsd-ports-gnome-2e12c0cd80aa2477f64d9443346f74f513803932.zip |
change -f to -d in patchfile.
bump port revision
PR: 32821
Submitted by: maintainer
Diffstat (limited to 'mail/ricochet')
-rw-r--r-- | mail/ricochet/Makefile | 1 | ||||
-rw-r--r-- | mail/ricochet/files/patch-ricochet | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/ricochet/Makefile b/mail/ricochet/Makefile index ca065077e9b5..138fcea3fd2b 100644 --- a/mail/ricochet/Makefile +++ b/mail/ricochet/Makefile @@ -7,6 +7,7 @@ PORTNAME= ricochet PORTVERSION= 0.97 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://vipul.net/perl/sources/spamcontrol/ricochet/ diff --git a/mail/ricochet/files/patch-ricochet b/mail/ricochet/files/patch-ricochet index 267113b8ac1a..41245c06cf01 100644 --- a/mail/ricochet/files/patch-ricochet +++ b/mail/ricochet/files/patch-ricochet @@ -5,7 +5,7 @@ sub initialize { my $self = shift; - my $rc = "$ENV{RICOCHET}" || "$ENV{HOME}/.ricochet"; $rc .= "/ricochetrc"; -+ my $rc = "$ENV{RICOCHET}" || -f "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet"; ++ 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); |