aboutsummaryrefslogtreecommitdiffstats
path: root/net/ddclient
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-08-27 06:28:39 +0800
committerdirk <dirk@FreeBSD.org>2001-08-27 06:28:39 +0800
commit48d48573a42714d5ca12b5da09544b6bcd09a8dd (patch)
tree962f442d499e4663e32b2d0dd58c7dd12fd55e72 /net/ddclient
parentf1d9bd5b358ee1bab2eab95db01223cb75ba4322 (diff)
downloadfreebsd-ports-gnome-48d48573a42714d5ca12b5da09544b6bcd09a8dd.tar.gz
freebsd-ports-gnome-48d48573a42714d5ca12b5da09544b6bcd09a8dd.tar.zst
freebsd-ports-gnome-48d48573a42714d5ca12b5da09544b6bcd09a8dd.zip
Add slashes at the end of directory names to make ddclient actually run.
Diffstat (limited to 'net/ddclient')
-rw-r--r--net/ddclient/Makefile1
-rw-r--r--net/ddclient/files/patch-aa4
2 files changed, 3 insertions, 2 deletions
diff --git a/net/ddclient/Makefile b/net/ddclient/Makefile
index 9beda2aed6f6..7484ae00c5ab 100644
--- a/net/ddclient/Makefile
+++ b/net/ddclient/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ddclient
PORTVERSION= 3.5.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://burry.ca:4141/ddclient/
diff --git a/net/ddclient/files/patch-aa b/net/ddclient/files/patch-aa
index 3021bd1d926b..b056bf8db657 100644
--- a/net/ddclient/files/patch-aa
+++ b/net/ddclient/files/patch-aa
@@ -13,8 +13,8 @@
my $hostname = hostname();
-my $etc = ($program =~ /test/i) ? './' : '/etc/';
-my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
-+my $etc = '%%PREFIX%%/etc';
-+my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}" : "/var/tmp");
++my $etc = '%%PREFIX%%/etc/';
++my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}/" : "/var/tmp/");
my $msgs = '';
my $last_msgs = '';