openbsd-ports/sysutils/upsd/patches/patch-config_h
kevlo 5832314d0d - don't use hardcoded to /etc; pointed out by naddy@
- use ${PREFIX}/share/examples/upsd for examples,
  not ${PREFIX}/lib/upsd
- use {INSTALL,DEINSTALL} for notification messages for config files
2002-08-05 02:25:28 +00:00

13 lines
371 B
Plaintext

$OpenBSD: patch-config_h,v 1.1 2002/08/05 02:25:30 kevlo Exp $
--- config.h.orig Mon Aug 5 09:56:46 2002
+++ config.h Mon Aug 5 09:57:07 2002
@@ -8,7 +8,7 @@
*/
#ifndef DEBUG
-#define _PATH_UPSD_CONF "/etc/upsd.conf"
+#define _PATH_UPSD_CONF "%%SYSCONFDIR%%/upsd.conf"
#define _PATH_UPSD_PID "/var/run/upsd.pid"
#else
#define _PATH_UPSD_CONF "sample/upsd.conf"