On Mon, Dec 18, 2023 at 04:33:26PM +0100, Chris Hofstaedtler wrote:
> I don't think there is anything you can "ask" about this.
> 
> Generally the idea is that in trixie and later, --prefix=/usr really
> means that. Anything that excluded subdirs from ${prefix} should be
> a thing of the past. If the upstream build system ignores ${prefix}
> for a certain location, you'll need to override it :-(

Well, it's pretty straight-up autoconf (no automake). Makefile.in contains

  PREFIX=@prefix@
  SYSCONFDIR=@sysconfdir@
  LOCALSTATEDIR=@localstatedir@
  LIBDIR=@libdir@

and installs into $(LIBDIR).

dh_auto_configure runs configure with (among others)

  --prefix=/usr --libdir=\${prefix}/lib/x86_64-linux-gnu 

But nothing ever defines lowercase ${prefix}. It's possible that it expects
the upstream Makefile to do

  prefix=$(PREFIX)

or something similar? But it's unclear to my why it doesn't just do

  --libdir=/usr/lib/x86_64-linux-gnu

/* Steinar */
-- 
Homepage: https://www.sesse.net/

Reply via email to