summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2013-01-11 17:02:19 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2013-01-11 17:02:19 +0000
commit9a7dff629c1f595e0a6941cbe60928c5300ee532 (patch)
treeb1ad665b9cc0adf81490b97c9b281c7f8641cb94 /app-laptop
parentVersion bump. (diff)
downloadgentoo-2-9a7dff629c1f595e0a6941cbe60928c5300ee532.tar.gz
gentoo-2-9a7dff629c1f595e0a6941cbe60928c5300ee532.tar.bz2
gentoo-2-9a7dff629c1f595e0a6941cbe60928c5300ee532.zip
Use udev eclass
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/laptop-mode-tools/ChangeLog6
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index 189656056e87..54ec080fa946 100644
--- a/app-laptop/laptop-mode-tools/ChangeLog
+++ b/app-laptop/laptop-mode-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-laptop/laptop-mode-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.67 2013/01/11 16:10:08 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.68 2013/01/11 17:02:19 alonbl Exp $
+
+ 11 Jan 2013; Alon Bar-Lev <alonbl@gentoo.org>
+ laptop-mode-tools-1.62-r1.ebuild:
+ Use udev eclass
*laptop-mode-tools-1.62-r1 (11 Jan 2013)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild
index 5ce9f36e58d4..cc42b6c87b93 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild,v 1.1 2013/01/11 16:10:08 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild,v 1.2 2013/01/11 17:02:19 alonbl Exp $
EAPI=5
-inherit eutils systemd
+inherit eutils systemd udev
MY_P=${PN}_${PV}
@@ -29,7 +29,7 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
# Install 99-laptop-mode.rules to rules.d directory in /usr/lib instead of /etc
- sed -i -e '/udev/s:/etc:/lib:' install.sh || die
+ sed -i -e '/udev/s:/etc/udev:'$(udev_get_udevdir)':' install.sh || die
# This should avoid conflict with pm-powersave wrt #327443 and #396703
cat <<-EOF > "${T}"/${PN}