On Wed, May 6, 2015 at 16:07:36 +0300, Martin-Éric Racine wrote: > 2015-05-06 15:22 GMT+03:00 Julien Cristau <[email protected]>: > > On Wed, May 6, 2015 at 12:40:51 +0300, Martin-Éric Racine wrote: > >> Btw, I notice that XSF is still using Debhelper compatibility 8. Is > >> there any particular reason for foregoing compatibility 9? > >> > > Depends on the package. I've been updating a few to debhelper compat 9 > > recently. For drivers however, at least when using dh_auto_configure, > > that requires overriding its multiarch libdir setting to keep things > > under /usr/lib/xorg/modules. But there's no specific reason to avoid > > bumping to 9 AFAIK. > > The consequences of compatibility level 9 (automatically enforced > multiarch libdir) on drivers is precisely what I'm worried about. If > there is a standardized debian/rules stanza for overriding this for X > drivers, I would love to hear about it. > I've been using this:
override_dh_auto_configure:
dh_auto_configure -- \
--disable-silent-rules \
--libdir=\$${exec_prefix}/lib
See e.g.
http://anonscm.debian.org/cgit/pkg-xorg/driver/xserver-xorg-video-trident.git/commit/?id=713c309b94fa2084dee04def78924fbc7563d011
Cheers,
Julien
signature.asc
Description: Digital signature

