summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild')
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild
index 157dda4e9036..6b2eece09ef6 100644
--- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild,v 1.1 2009/08/09 18:31:49 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild,v 1.2 2009/09/28 19:37:52 eva Exp $
EAPI="2"
@@ -78,12 +78,6 @@ pkg_setup() {
src_prepare() {
gnome2_src_prepare
- if ! use doc; then
- # Remove the docbook2man rules here since it's not handled by a proper
- # parameter in configure.in.
- sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' -i "${S}/man/Makefile.in" || die "sed 1 failed"
- fi
-
# Drop debugger CFLAGS
sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' -i configure.ac \
|| die "sed 2 failed"
@@ -110,6 +104,13 @@ src_prepare() {
rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed"
eautoreconf
+ if ! use doc; then
+ # Remove the docbook2man rules here since it's not handled by a proper
+ # parameter in configure.in.
+ sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' \
+ -i "${S}/man/Makefile.in" || die "sed 1 failed"
+ fi
+
# glibc splits this out, whereas other libc's do not tend to
use elibc_glibc || sed -e 's/-lresolv//' -i configure || die "sed 4 failed"
}