summaryrefslogtreecommitdiff
path: root/net/proftpd/patches/patch-ac
blob: e5796eba230a45b630efccf90f5c7750319de5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ac,v 1.10 2008/10/03 06:52:03 martti Exp $

Make this pkgsrc friendly.

--- configure.in.orig	2008-09-02 18:54:49.000000000 +0300
+++ configure.in	2008-10-03 09:36:41.000000000 +0300
@@ -2067,9 +2067,9 @@
 locale_dir="`eval echo ${locale_dir}`"
 AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}/locale"`")
 
-AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}/proftpd"`")
+AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}/run"`")
 AC_DEFINE_UNQUOTED(PR_CONFIG_FILE_PATH, "`eval echo "${sysconfdir}/proftpd.conf"`")
-AC_DEFINE_UNQUOTED(PR_PID_FILE_PATH, "`eval echo "${localstatedir}/proftpd.pid"`")
+AC_DEFINE_UNQUOTED(PR_PID_FILE_PATH, "`eval echo "${localstatedir}/run/proftpd.pid"`")
 
 prefix="$pr_saved_prefix"
 exec_prefix="$pr_saved_exec_prefix"