From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.77)
	(envelope-from <gentoo-dev+bounces-53295-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SpQTc-0005Y6-Sq
	for garchives@archives.gentoo.org; Thu, 12 Jul 2012 20:59:09 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6967FE06F3;
	Thu, 12 Jul 2012 20:58:55 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 0FA57E06D6
	for <gentoo-dev@lists.gentoo.org>; Thu, 12 Jul 2012 20:58:13 +0000 (UTC)
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: floppym)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 1BAF01B400B
	for <gentoo-dev@lists.gentoo.org>; Thu, 12 Jul 2012 20:58:12 +0000 (UTC)
Received: by wibhm2 with SMTP id hm2so5242927wib.10
        for <gentoo-dev@lists.gentoo.org>; Thu, 12 Jul 2012 13:58:10 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.180.94.234 with SMTP id df10mr15471537wib.16.1342125110111;
 Thu, 12 Jul 2012 13:31:50 -0700 (PDT)
Received: by 10.223.3.142 with HTTP; Thu, 12 Jul 2012 13:31:50 -0700 (PDT)
In-Reply-To: <4FFF2C65.3080200@gentoo.org>
References: <20120711191142.GA26844@linux1>
	<4FFF2C65.3080200@gentoo.org>
Date: Thu, 12 Jul 2012 16:31:50 -0400
Message-ID: <CAJ0EP41FbSc7i_tE3-jSxxosO6LGfTcaN5=BYGD4jk2ecNiZYQ@mail.gmail.com>
Subject: Re: [gentoo-dev] rfc: udev-rules.eclass
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 84b61a6e-1862-46cc-b533-28c426789940
X-Archives-Hash: 0cbb7f0d25735b0ebe635319861c4f10

On Thu, Jul 12, 2012 at 3:58 PM, Samuli Suominen <ssuominen@gentoo.org> wrote:
> Please don't hardcode the path like this, use pkg-config instead:
>
> inherit toolchain-funcs
>
> dir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/rules.d"
>

Heh, I didn't realize udev installed a pkg-config file for that. Nice.