summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-10-30 19:53:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-10-30 19:53:17 +0000
commit2e58c50a4a4b7cfc963c0caa3fb7645512790bca (patch)
tree2ce676363f47b283f0d7e34859f472d0d653df3a /sys-power
parentRemove old (diff)
downloadgentoo-2-2e58c50a4a4b7cfc963c0caa3fb7645512790bca.tar.gz
gentoo-2-2e58c50a4a4b7cfc963c0caa3fb7645512790bca.tar.bz2
gentoo-2-2e58c50a4a4b7cfc963c0caa3fb7645512790bca.zip
Use new udev.eclass instead of duplicating the same code here.
(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/upower/ChangeLog5
-rw-r--r--sys-power/upower/upower-0.9.18.ebuild9
2 files changed, 7 insertions, 7 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog
index 2f068061d768..04d22a79fd6e 100644
--- a/sys-power/upower/ChangeLog
+++ b/sys-power/upower/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/upower
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.85 2012/10/30 19:04:25 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.86 2012/10/30 19:53:17 ssuominen Exp $
+
+ 30 Oct 2012; Samuli Suominen <ssuominen@gentoo.org> upower-0.9.18.ebuild:
+ Use new udev.eclass instead of duplicating the same code here.
30 Oct 2012; Agostino Sarubbo <ago@gentoo.org> upower-0.9.18.ebuild:
Stable for x86, wrt bug #438704
diff --git a/sys-power/upower/upower-0.9.18.ebuild b/sys-power/upower/upower-0.9.18.ebuild
index c1ef73b9a686..ff2036740435 100644
--- a/sys-power/upower/upower-0.9.18.ebuild
+++ b/sys-power/upower/upower-0.9.18.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.18.ebuild,v 1.4 2012/10/30 19:04:25 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.18.ebuild,v 1.5 2012/10/30 19:53:17 ssuominen Exp $
EAPI=4
# PYTHON_DEPEND="test? 3"
# inherit python
-inherit eutils systemd toolchain-funcs
+inherit eutils systemd udev
DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics"
HOMEPAGE="http://upower.freedesktop.org/"
@@ -77,10 +77,7 @@ src_configure() {
}
src_install() {
- local udevdir=/lib/udev
- use kernel_linux && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
-
- emake DESTDIR="${D}" udevrulesdir="${udevdir}"/rules.d install
+ emake DESTDIR="${D}" udevrulesdir="$(udev_get_udevdir)"/rules.d install
dodoc AUTHORS HACKING NEWS README
keepdir /var/lib/upower #383091