diff options
author | steve <steve@FreeBSD.org> | 1998-07-03 23:40:27 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-07-03 23:40:27 +0000 |
commit | 6e78732cd98104423566a995db4e3b8e619fc52d (patch) | |
tree | 996dd04353cfe7d1fe6e245d4a2c9b972d9f5cb7 /sysutils/upsd/files | |
parent | c40b48c46ee910b6bc611234aedccef51cb837d9 (diff) | |
download | FreeBSD-ports-6e78732cd98104423566a995db4e3b8e619fc52d.zip FreeBSD-ports-6e78732cd98104423566a995db4e3b8e619fc52d.tar.gz |
Get the location of upsd.conf correct.
PR: 7114
Diffstat (limited to 'sysutils/upsd/files')
-rw-r--r-- | sysutils/upsd/files/patch-ab | 2 | ||||
-rw-r--r-- | sysutils/upsd/files/patch-ac | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/upsd/files/patch-ab b/sysutils/upsd/files/patch-ab index 4a42c00..c86395b 100644 --- a/sysutils/upsd/files/patch-ab +++ b/sysutils/upsd/files/patch-ab @@ -5,7 +5,7 @@ #ifndef DEBUG -#define _PATH_UPSD_CONF "/etc/upsd.conf" -+#define _PATH_UPSD_CONF "@prefix@/upsd.conf" ++#define _PATH_UPSD_CONF "@prefix@/etc/upsd.conf" #define _PATH_UPSD_PID "/var/run/upsd.pid" #else #define _PATH_UPSD_CONF "sample/upsd.conf" diff --git a/sysutils/upsd/files/patch-ac b/sysutils/upsd/files/patch-ac new file mode 100644 index 0000000..1b1899a --- /dev/null +++ b/sysutils/upsd/files/patch-ac @@ -0,0 +1,9 @@ +--- upsd.h.orig Fri Jul 3 13:52:01 1998 ++++ upsd.h Fri Jul 3 13:52:21 1998 +@@ -206,5 +206,5 @@ + + #define TERMINATE kill(getpid(), SIGTERM) + +-#include "config.h" ++#include "conf.h" + #include "proto.h" |