From dd42858718465d8e7a04c63cebebb0ab2f36ea97 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 1 Apr 2021 10:22:40 +0300 Subject: [PATCH] fix xmp-cli not respecting system xmp.conf. src/Makefile.am defined SYSCONFDIR as ${sysconfdir}, but installed xmp.conf under ${sysconfdir}//${PACKAGE_NAME}. therefore, changing the SYSCONFDIR define to reflect reality. Patch from RedHat rpm repositories. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1365321 Closes: https://github.com/libxmp/xmp-cli/issues/27 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 15500d9..a150788 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ # -*- Makefile -*- -AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}\" ${LIBXMP_CFLAGS} \ +AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}/${PACKAGE_NAME}\" ${LIBXMP_CFLAGS} \ ${alsa_CFLAGS} ${pulseaudio_CFLAGS} AM_CFLAGS = -Wall