summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-20 15:42:42 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-20 15:42:42 +0000
commit95c533a1fa3acf63520906499f8015ceb54ad61a (patch)
tree02600848bae60fd9984618d178d611e1bd71244e /sys-power/powersave/powersave-0.15.11.ebuild
parentUnmask amarok now that's released. (diff)
downloadgentoo-2-95c533a1fa3acf63520906499f8015ceb54ad61a.tar.gz
gentoo-2-95c533a1fa3acf63520906499f8015ceb54ad61a.tar.bz2
gentoo-2-95c533a1fa3acf63520906499f8015ceb54ad61a.zip
Remove pam_console USE flag, dependency and so on.
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'sys-power/powersave/powersave-0.15.11.ebuild')
-rw-r--r--sys-power/powersave/powersave-0.15.11.ebuild19
1 files changed, 5 insertions, 14 deletions
diff --git a/sys-power/powersave/powersave-0.15.11.ebuild b/sys-power/powersave/powersave-0.15.11.ebuild
index 09da5c1c0382..5d951c76fcbc 100644
--- a/sys-power/powersave/powersave-0.15.11.ebuild
+++ b/sys-power/powersave/powersave-0.15.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.15.11.ebuild,v 1.5 2007/08/02 06:38:02 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.15.11.ebuild,v 1.6 2007/12/20 15:42:42 flameeyes Exp $
inherit eutils libtool kde-functions autotools
@@ -10,13 +10,12 @@ HOMEPAGE="http://powersave.sf.net/"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"
-IUSE="pam_console doc"
+IUSE="doc"
RDEPEND="dev-libs/dbus-glib
>=sys-apps/hal-0.5.3
>=sys-power/cpufrequtils-001
- dev-libs/liblazy
- pam_console? ( || ( sys-auth/pam_console <sys-libs/pam-0.99 ) )"
+ dev-libs/liblazy"
DEPEND="${RDEPEND}
doc? (
app-doc/doxygen
@@ -24,20 +23,12 @@ DEPEND="${RDEPEND}
www-client/lynx
)"
-pkg_setup() {
- if use pam_console && has_version "<sys-libs/pam-0.99" && ! built_with_use sys-libs/pam pam_console ; then
- eerror "You need to build pam with pam_console support"
- eerror "Please remerge sys-libs/pam with USE=pam_console"
- die "pam without pam_console detected"
- fi
-}
-
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/powersave-as-needed.patch
- # Use pam_console or group plugdev to control access to powersave
- use pam_console || epatch ${FILESDIR}/plugdev_access.patch
+ # Use group plugdev to control access to powersave
+ epatch ${FILESDIR}/plugdev_access.patch
}
src_compile() {