summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-12-11 18:12:34 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-12-11 18:12:34 +0000
commit3de9b17591d998b10608abd28bd602bf57a617d7 (patch)
tree2dc919c4033fe1c74b9fb14234318947c1ae6299 /sys-cluster/knem
parentuse udev.eclass to determine udevdir for virtual/udev support (diff)
downloadgentoo-2-3de9b17591d998b10608abd28bd602bf57a617d7.tar.gz
gentoo-2-3de9b17591d998b10608abd28bd602bf57a617d7.tar.bz2
gentoo-2-3de9b17591d998b10608abd28bd602bf57a617d7.zip
use udev.eclass to install udev rules to support virtual/udev
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'sys-cluster/knem')
-rw-r--r--sys-cluster/knem/ChangeLog5
-rw-r--r--sys-cluster/knem/knem-1.0.0.ebuild11
2 files changed, 7 insertions, 9 deletions
diff --git a/sys-cluster/knem/ChangeLog b/sys-cluster/knem/ChangeLog
index ad56d7705fde..55bd4c113583 100644
--- a/sys-cluster/knem/ChangeLog
+++ b/sys-cluster/knem/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/knem
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/ChangeLog,v 1.5 2012/10/12 10:44:12 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/ChangeLog,v 1.6 2012/12/11 18:12:34 axs Exp $
+
+ 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> knem-1.0.0.ebuild:
+ use udev.eclass to install udev rules to support virtual/udev
*knem-1.0.0 (12 Oct 2012)
diff --git a/sys-cluster/knem/knem-1.0.0.ebuild b/sys-cluster/knem/knem-1.0.0.ebuild
index 309721d8572a..15ab78e7ac0c 100644
--- a/sys-cluster/knem/knem-1.0.0.ebuild
+++ b/sys-cluster/knem/knem-1.0.0.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/knem-1.0.0.ebuild,v 1.1 2012/10/12 10:44:12 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/knem-1.0.0.ebuild,v 1.2 2012/12/11 18:12:34 axs Exp $
EAPI=4
-inherit autotools linux-mod linux-info toolchain-funcs multilib
+inherit autotools linux-mod linux-info toolchain-funcs udev multilib
DESCRIPTION="High-Performance Intra-Node MPI Communication"
HOMEPAGE="http://runtime.bordeaux.inria.fr/knem/"
@@ -65,11 +65,6 @@ src_install() {
rm "${ED}/usr/sbin/knem_local_install" || die
rmdir "${ED}/usr/sbin" || die
# install udev rules
- local udevdir=/lib/udev
- if has_version sys-fs/udev ; then
- udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- fi
- insinto "${udevdir}/rules.d"
- doins "${FILESDIR}/45-knem.rules" || die
+ udev_dorules "${FILESDIR}/45-knem.rules"
rm "${ED}/etc/10-knem.rules" || die
}