isoqlog (2.2.1-8) fix-sysconfdir.patch

Summary

 configure.in     |    2 +-
 data/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Fixed isoqlog.conf location.
--- a/configure.in
+++ b/configure.in
@@ -36,7 +36,7 @@
 AC_FUNC_STAT
 AC_CHECK_FUNCS([gethostname memset mkdir strcasecmp strdup strerror strstr], [], \
 			AC_MSG_ERROR([functions not found]))
-AC_DEFINE_UNQUOTED(CONFIGFILE, "${prefix}/etc/isoqlog.conf", [Configuration file path])
+AC_DEFINE_UNQUOTED(CONFIGFILE, "${sysconfdir}/isoqlog.conf", [Configuration file path])
 
 AC_CONFIG_FILES([ Makefile ])
 AC_CONFIG_FILES([ isoqlog/Makefile ])
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,7 +3,7 @@
 
 SUBDIRS = htmltemp lang
 
-isoqlog_confdir = ${prefix}/etc
+isoqlog_confdir = ${sysconfdir}
 isoqlog_conf_DATA = isoqlog.conf-dist \
 		isoqlog.domains-dist