On Mon, 2019-04-15 at 10:52 +0300, Luiz Augusto von Dentz wrote: > Hi Bastien, > > On Fri, Apr 12, 2019 at 5:11 PM Ludwig Nussel <ludwig.nussel@xxxxxxx> > wrote: > > --- > > Makefile.tools | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/Makefile.tools b/Makefile.tools > > index 7d5361bcd..9f8a0b87b 100644 > > --- a/Makefile.tools > > +++ b/Makefile.tools > > @@ -436,7 +436,10 @@ endif > > endif > > > > if CUPS > > -cupsdir = $(libdir)/cups/backend > > +# need to use upstream location here which is > > $exec_prefix/lib/cups/backend, see > > +# > > https://github.com/apple/cups/blob/master/config-scripts/cups-directories.m4 > > +# https://github.com/apple/cups/blob/master/backend/Makefile > > +cupsdir = $(exec_prefix)/lib/cups/backend > > > > cups_PROGRAMS = profiles/cups/bluetooth > > Any feedback on these changes? The Fedora package has been doing that manually for 11 years, so, yes that looks correct. It should probably be using the output of "cups-config --serverbin" instead, but given how hard that is with autotools, this is probably fine. I'd mention it in the commend instead of linking at the code though.