mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
Use /var/tmp/ as default temporary directory instead of /usr/tmp/.
Approved by: maintainer timeout
This commit is contained in:
parent
d32f0358ba
commit
c76eb1f9fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57745
1 changed files with 20 additions and 0 deletions
20
misc/p5-File-CounterFile/files/patch-aa
Normal file
20
misc/p5-File-CounterFile/files/patch-aa
Normal file
|
@ -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,
|
Loading…
Add table
Reference in a new issue