aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-File-CounterFile
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-04-16 15:35:46 +0800
committerdirk <dirk@FreeBSD.org>2002-04-16 15:35:46 +0800
commit643ebf81f659bb25d316680b65aab809d744162a (patch)
tree3c589832e6caca0e65d4629320cbcc80dae70ce7 /misc/p5-File-CounterFile
parent4c6bf76f60a573df5a9792bafa616fbfefd44e69 (diff)
downloadfreebsd-ports-graphics-643ebf81f659bb25d316680b65aab809d744162a.tar.gz
freebsd-ports-graphics-643ebf81f659bb25d316680b65aab809d744162a.tar.zst
freebsd-ports-graphics-643ebf81f659bb25d316680b65aab809d744162a.zip
Use /var/tmp/ as default temporary directory instead of /usr/tmp/.
Approved by: maintainer timeout
Diffstat (limited to 'misc/p5-File-CounterFile')
-rw-r--r--misc/p5-File-CounterFile/files/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/p5-File-CounterFile/files/patch-aa b/misc/p5-File-CounterFile/files/patch-aa
new file mode 100644
index 00000000000..8852aa1342a
--- /dev/null
+++ b/misc/p5-File-CounterFile/files/patch-aa
@@ -0,0 +1,20 @@
+--- CounterFile.pm.orig Sat May 16 21:47:34 1998
++++ CounterFile.pm Mon Apr 8 11:48:26 2002
+@@ -31,7 +31,7 @@
+ If the file name does not start with "/" or ".", then it is
+ interpreted as a file relative to C<$File::CounterFile::DEFAULT_DIR>.
+ The default value for this variable is initialized from the
+-environment variable C<TMPDIR>, or F</usr/tmp> is no environment
++environment variable C<TMPDIR>, or F</var/tmp> is no environment
+ variable is defined. You may want to assign a different value to this
+ variable before creating counters.
+
+@@ -88,7 +88,7 @@
+ $DEFAULT_INITIAL = 0; # default initial counter value
+
+ # default location for counter files
+-$DEFAULT_DIR = $ENV{TMPDIR} || "/usr/tmp";
++$DEFAULT_DIR = $ENV{TMPDIR} || "/var/tmp";
+
+ # Experimental overloading.
+ use overload ('++' => \&inc,