Bug 45411

Summary: Fix slashlibdir determination in configure.ac
Product: colord Reporter: Pierre Lejeune <superheron>
Component: libcolordAssignee: Richard Hughes <richard>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch fixing slashlibdir variable in configure.ac

Description Pierre Lejeune 2012-01-30 12:57:04 UTC
Created attachment 56337 [details] [review]
Patch fixing slashlibdir variable in configure.ac

Hello,
There is a problem in configure.ac with the slashlibdir variable used for installing udev rules. When set, it contains either /lib or $(prefix)/lib.

As I'm running a 64bit system, those paths are symlinks, and my package mangler (Paludis on Exherbo) now forbids installation to them directly. It should contain either /lib64 or $(prefix)/lib64 in order to install correctly, at least on a 64bit system.

In attachment, you'll find a patch fixing that problem.

Thanks for reading,

SuperHeron
Comment 1 Richard Hughes 2012-05-22 04:39:41 UTC
-  slashlibdir=/lib
+  slashlibdir=${libdir#${prefix}}

From Kay, the udev maintainer: "This just isn't right -- lib/ is not $libdir. udev rules never go into lib64 and on non-legacy filesystem layouts, udev rules go into /usr/lib/udev/"

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.