summaryrefslogtreecommitdiff
path: root/net/proftpd/patches/patch-ab
blob: f913c376685189e5d0d513b863a7f98a24a121a7 (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
$NetBSD: patch-ab,v 1.8 2008/10/03 06:52:03 martti Exp $

Make this pkgsrc friendly.

--- configure.orig	2008-09-02 19:00:54.000000000 +0300
+++ configure	2008-10-03 09:35:50.000000000 +0300
@@ -36925,7 +36925,7 @@
 
 
 cat >>confdefs.h <<_ACEOF
-#define PR_RUN_DIR "`eval echo "${localstatedir}/proftpd"`"
+#define PR_RUN_DIR "`eval echo "${localstatedir}/run"`"
 _ACEOF
 
 cat >>confdefs.h <<_ACEOF
@@ -36933,7 +36933,7 @@
 _ACEOF
 
 cat >>confdefs.h <<_ACEOF
-#define PR_PID_FILE_PATH "`eval echo "${localstatedir}/proftpd.pid"`"
+#define PR_PID_FILE_PATH "`eval echo "${localstatedir}/run/proftpd.pid"`"
 _ACEOF