summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-12-11 16:48:03 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-12-11 16:48:03 +0000
commit26db098f15ab342efeba306987e4b1d8c66e841b (patch)
tree48ad990cfcdb043ad382da25414bd3934d0dbc78 /net-dialup
parentvirtualize the udev dependency (diff)
downloadgentoo-2-26db098f15ab342efeba306987e4b1d8c66e841b.tar.gz
gentoo-2-26db098f15ab342efeba306987e4b1d8c66e841b.tar.bz2
gentoo-2-26db098f15ab342efeba306987e4b1d8c66e841b.zip
virtualize udev by using udev.eclass to determine udevdir
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/misdn/ChangeLog5
-rw-r--r--net-dialup/misdn/misdn-1.1.7.2-r1.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/net-dialup/misdn/ChangeLog b/net-dialup/misdn/ChangeLog
index 430d5b90f41e..3349ab55a169 100644
--- a/net-dialup/misdn/ChangeLog
+++ b/net-dialup/misdn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/misdn
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/ChangeLog,v 1.30 2012/08/12 15:07:38 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/ChangeLog,v 1.31 2012/12/11 16:48:03 axs Exp $
+
+ 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> misdn-1.1.7.2-r1.ebuild:
+ virtualize udev by using udev.eclass to determine udevdir
*misdn-1.1.7.2-r1 (12 Aug 2012)
diff --git a/net-dialup/misdn/misdn-1.1.7.2-r1.ebuild b/net-dialup/misdn/misdn-1.1.7.2-r1.ebuild
index c5eccf988b69..9478720d4fa2 100644
--- a/net-dialup/misdn/misdn-1.1.7.2-r1.ebuild
+++ b/net-dialup/misdn/misdn-1.1.7.2-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-1.1.7.2-r1.ebuild,v 1.1 2012/08/12 15:07:38 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-1.1.7.2-r1.ebuild,v 1.2 2012/12/11 16:48:03 axs Exp $
-inherit eutils linux-mod toolchain-funcs
+inherit eutils linux-mod udev toolchain-funcs
MY_P=mISDN-${PV//./_}
@@ -170,8 +170,7 @@ src_install() {
insinto /usr/include/linux
doins "${MY_S}/include/linux/"*.h
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+ local udevdir="$(udev_get_udevdir)"
dodir "${udevdir}"/rules.d
echo 'KERNEL=="obj-*", NAME="mISDN", GROUP="uucp", MODE="0660"' \
> "${D}/${udevdir}"/rules.d/53-${PN}.rules