summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2010-01-20 22:30:15 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2010-01-20 22:30:15 +0000
commit34c75b7f9074a9de3229648e92feb9ab44dfef05 (patch)
tree351e102b009b4e523cc461f07da7c04c78f3b685 /app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild
parentMarking kopete-facebook-0.1.4 ~ppc64 for bug 292413 (diff)
downloadgentoo-2-34c75b7f9074a9de3229648e92feb9ab44dfef05.tar.gz
gentoo-2-34c75b7f9074a9de3229648e92feb9ab44dfef05.tar.bz2
gentoo-2-34c75b7f9074a9de3229648e92feb9ab44dfef05.zip
Fix configure loop, bug #297482. Fix localstatedir for init script.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild')
-rw-r--r--app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild b/app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild
index afb49746cc8d..a1dc22e1701e 100644
--- a/app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild
+++ b/app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild,v 1.1 2009/12/17 23:17:01 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/system-tools-backends-2.8.3.ebuild,v 1.2 2010/01/20 22:30:15 eva Exp $
EAPI="2"
GCONF_DEBUG="no"
@@ -31,7 +31,9 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README TODO"
pkg_setup() {
- G2CONF="${G2CONF} $(use_enable policykit polkit)"
+ G2CONF="${G2CONF}
+ $(use_enable policykit polkit)
+ --localstatedir=/var"
enewgroup stb-admin || die "Failed to create stb-admin group"
}
@@ -56,11 +58,6 @@ src_prepare() {
eautoreconf
}
-src_compile() {
- # Autotools insanity, localstatedir gets set to /usr/local/var by default
- gnome2_src_compile --localstatedir="${ROOT}"/var
-}
-
src_install() {
gnome2_src_install
newinitd "${FILESDIR}"/stb.rc system-tools-backends