summaryrefslogtreecommitdiff
path: root/wm/pwm/patches/patch-ah
blob: 3606496f115b90669800fbc69a4b782c8a31ab79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ah,v 1.1 2002/01/31 04:08:00 jlam Exp $

--- config.h.orig	Sat Jun  3 18:12:54 2000
+++ config.h
@@ -60,11 +60,11 @@
 #define PWM_VERSION ""
 #endif
 
-#ifndef PREFIX
-#define PREFIX ""
+#ifndef SYSCONFDIR
+#define SYSCONFDIR "/etc/pwm"
 #endif
 
-#define CF_SYS_CONFIG_LOCATION PREFIX"/etc/pwm/"
+#define CF_SYS_CONFIG_LOCATION SYSCONFDIR"/"
 #define CF_GLOBAL_CFGFILE CF_SYS_CONFIG_LOCATION"pwm.conf"
 #define CF_USER_CONFIG_LOCATION ".pwm/"
 #define CF_USER_CFGFILE CF_USER_CONFIG_LOCATION"pwm.conf"