diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-03 02:23:17 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-03 02:23:17 +0000 |
commit | 52386a88ad39e9dec4c94f237b97ee1262155b04 (patch) | |
tree | d57e5de188c47a9d2ea6c709f949bee898fe670c /sys-fs/vhba/vhba-20120422-r1.ebuild | |
parent | old (diff) | |
download | historical-52386a88ad39e9dec4c94f237b97ee1262155b04.tar.gz historical-52386a88ad39e9dec4c94f237b97ee1262155b04.tar.bz2 historical-52386a88ad39e9dec4c94f237b97ee1262155b04.zip |
Use virtual/udev instead of sys-fs/udev wrt #444398
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-fs/vhba/vhba-20120422-r1.ebuild')
-rw-r--r-- | sys-fs/vhba/vhba-20120422-r1.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys-fs/vhba/vhba-20120422-r1.ebuild b/sys-fs/vhba/vhba-20120422-r1.ebuild index 711c55780caa..80bf0798d5c3 100644 --- a/sys-fs/vhba/vhba-20120422-r1.ebuild +++ b/sys-fs/vhba/vhba-20120422-r1.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-fs/vhba/vhba-20120422-r1.ebuild,v 1.3 2012/11/21 10:12:55 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20120422-r1.ebuild,v 1.4 2012/12/03 02:23:12 ssuominen Exp $ EAPI="4" -inherit linux-mod user +inherit linux-mod user udev MY_P=vhba-module-${PV} DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite" @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="amd64 ~hppa x86" IUSE="" -RDEPEND=">=sys-fs/udev-125" +RDEPEND="virtual/udev" DEPEND="${RDEPEND} virtual/pkgconfig" @@ -45,9 +45,8 @@ src_install() { linux-mod_src_install einfo "Generating udev rules ..." - local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - dodir "${udevdir}"/rules.d - cat > "${D}/${udevdir}"/rules.d/70-vhba.rules <<-EOF || die + dodir "$(udev_get_udevdir)"/rules.d + cat > "${D}/$(udev_get_udevdir)"/rules.d/70-vhba.rules <<-EOF || die # do not edit this file, it will be overwritten on update # KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu" |