summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-ad
blob: d75ba69f37b4bf7f2917f54dda015f78ae642bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-ad,v 1.5 2002/09/30 09:25:24 abs Exp $

--- include/atalk/paths.h.orig	Wed Sep 25 18:36:24 2002
+++ include/atalk/paths.h
@@ -16,7 +16,7 @@
 
 /* lock file path. this should be re-organized a bit. */
 #if ! defined (_PATH_LOCKDIR)
-#  if defined (FHS_COMPATIBILITY)
+#  if defined (FHS_COMPATIBILITY) || defined (__NetBSD__)
 #    define _PATH_LOCKDIR	"/var/run/"
 #  elif defined (BSD4_4)
 #    ifdef MACOSX_SERVER
@@ -51,7 +51,7 @@
  */
 #define _PATH_ATALKDEBUG	"/tmp/atalkd.debug"
 #define _PATH_ATALKDTMP		"atalkd.tmp"
-#ifdef FHS_COMPATIBILITY
+#if defined (FHS_COMPATIBILITY) || defined (__NetBSD__)
 #  define _PATH_ATALKDLOCK	ATALKPATHCAT(_PATH_LOCKDIR,"atalkd.pid")
 #else
 #  define _PATH_ATALKDLOCK	ATALKPATHCAT(_PATH_LOCKDIR,"atalkd")
@@ -61,7 +61,7 @@
  * psorder paths
  */
 #define _PATH_TMPPAGEORDER	"/tmp/psorderXXXXXX"
-#ifdef FHS_COMPATIBILITY
+#if defined (FHS_COMPATIBILITY) || defined (__NetBSD__)
 #  define _PATH_PAPDLOCK	ATALKPATHCAT(_PATH_LOCKDIR,"papd.pid")
 #else
 #  define _PATH_PAPDLOCK	ATALKPATHCAT(_PATH_LOCKDIR,"papd")
@@ -71,7 +71,7 @@
  * afpd paths
  */
 #define _PATH_AFPTKT		"/tmp/AFPtktXXXXXX"
-#ifdef FHS_COMPATIBILITY
+#if defined (FHS_COMPATIBILITY) || defined (__NetBSD__)
 #  define _PATH_AFPDLOCK	ATALKPATHCAT(_PATH_LOCKDIR,"afpd.pid")
 #else
 #  define _PATH_AFPDLOCK	ATALKPATHCAT(_PATH_LOCKDIR,"afpd")