mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 09:11:50 -04:00
- Support stage [3] - Switch to options helpers - Update patches, and rename them to follow makepatch naming maintainer timeout [1] [2] [3] -> take over maintainership PR: ports/184150 [1], ports/187117 [2], ports/189615 [3] Submitted by: Ryan Frederick [1], Jean-Sébastien Pédron [2], Ryan Frederick [3] Sponsored by: Absolight
17 lines
666 B
C
17 lines
666 B
C
--- ./src/ircd.c.orig 2013-11-24 20:24:26.000000000 +0100
|
|
+++ ./src/ircd.c 2014-05-23 00:34:32.000000000 +0200
|
|
@@ -1410,12 +1410,12 @@
|
|
}
|
|
#endif
|
|
#ifndef _WIN32
|
|
- mkdir("tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
|
|
+ mkdir("%%RUNDIR%%/tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
|
|
#if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE)
|
|
mkdir("cache", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the cache dir, if using curl and it doesn't exist */
|
|
#endif
|
|
#else
|
|
- mkdir("tmp");
|
|
+ mkdir("%%RUNDIR%%/tmp");
|
|
#if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE)
|
|
mkdir("cache");
|
|
#endif
|