Bug 45411 - Fix slashlibdir determination in configure.ac
Summary: Fix slashlibdir determination in configure.ac
Status: RESOLVED WONTFIX
Alias: None
Product: colord
Classification: Unclassified
Component: libcolord (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 12:57 UTC by Pierre Lejeune
Modified: 2012-05-22 04:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch fixing slashlibdir variable in configure.ac (493 bytes, patch)
2012-01-30 12:57 UTC, Pierre Lejeune
Details | Splinter Review

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.