aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-27 08:49:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-27 08:49:51 +0000
commitf0de72936caa23beb50c6af75ae85692480bfc52 (patch)
tree3eb85ec345428c4ab98d7cf1b4c31acdf307e8a9 /misc
parent0183726b5fe82d95557bf164405d85498ee7205e (diff)
downloadports-f0de72936caa23beb50c6af75ae85692480bfc52.tar.gz
ports-f0de72936caa23beb50c6af75ae85692480bfc52.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/gkrellweather2/Makefile2
-rw-r--r--misc/gkrellweather2/files/patch-GrabWeather18
2 files changed, 19 insertions, 1 deletions
diff --git a/misc/gkrellweather2/Makefile b/misc/gkrellweather2/Makefile
index 1df659f7de57..02bae7b94d04 100644
--- a/misc/gkrellweather2/Makefile
+++ b/misc/gkrellweather2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gkrellweather
PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
EXTRACT_SUFX= .tgz
diff --git a/misc/gkrellweather2/files/patch-GrabWeather b/misc/gkrellweather2/files/patch-GrabWeather
new file mode 100644
index 000000000000..aa1cdc3c8b22
--- /dev/null
+++ b/misc/gkrellweather2/files/patch-GrabWeather
@@ -0,0 +1,18 @@
+--- GrabWeather.orig Sun Feb 27 08:54:47 2005
++++ GrabWeather Sun Feb 27 08:54:47 2005
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/bin/env perl
+
+ #
+ # Grabs the latest local weather conditions from the
+@@ -40,8 +40,7 @@
+ # Is LWP installed?
+ eval { require LWP::UserAgent };
+ if ($@) {
+- my $cmd = qq{wget --proxy=off --passive-ftp --tries=0 --quiet } .
+- qq{--output-document=$home/$ReportDir/$HTMLFileName $URL};
++ my $cmd = qq{fetch -d -p -1 -q -o $home/$ReportDir/$HTMLFileName $URL};
+ `$cmd` == 0 or die "unable to fetch weather: $?";
+ } else {
+ $ENV{FTP_PASSIVE} = 1; # LWP uses Net::FTP internally.