On Thu, 12 Jul 2012 22:58:29 +0300 Samuli Suominen <ssuomi...@gentoo.org> wrote:
> On 07/11/2012 10:11 PM, William Hubbs wrote: > > All, > > I am about to release udev-186-r1, which will move everything > > currently in /lib/udev to /usr/lib/udev. > > > > For packages that install udev rules in ${FILESDIR}, we need an > > eclass that tests the version of udev installed on the user's > > system and installs the udev rules in the proper place. I'm not > > sure how many packages do this, so if it is a very small number of > > packages, it may not be worth the eclass. It would be good to > > discuss that as well as reviewing the proposed eclass. > > > > Thanks, > > > > William > > > > Please don't hardcode the path like this, use pkg-config instead: > > inherit toolchain-funcs > > dir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/rules.d" Don't forget to add udev to DEPEND of every package using the eclass then. Oh wait... -- Best regards, Michał Górny
signature.asc
Description: PGP signature