From e84fc3013cd8914a59923c486f46db6faa75c313 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Sun, 26 Aug 2001 22:28:39 +0000 Subject: Add slashes at the end of directory names to make ddclient actually run. --- dns/ddclient/Makefile | 1 + dns/ddclient/files/patch-aa | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'dns') diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index 9beda2aed6f6..7484ae00c5ab 100644 --- a/dns/ddclient/Makefile +++ b/dns/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/dns/ddclient/files/patch-aa b/dns/ddclient/files/patch-aa index 3021bd1d926b..b056bf8db657 100644 --- a/dns/ddclient/files/patch-aa +++ b/dns/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 = ''; -- cgit v1.2.3