Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: udev-rules.eclass
Date: Thu, 12 Jul 2012 20:59:09
Message-Id: CAJ0EP41FbSc7i_tE3-jSxxosO6LGfTcaN5=BYGD4jk2ecNiZYQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] rfc: udev-rules.eclass by Samuli Suominen
1 On Thu, Jul 12, 2012 at 3:58 PM, Samuli Suominen <ssuominen@g.o> wrote:
2 > Please don't hardcode the path like this, use pkg-config instead:
3 >
4 > inherit toolchain-funcs
5 >
6 > dir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/rules.d"
7 >
8
9 Heh, I didn't realize udev installed a pkg-config file for that. Nice.