summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-04-23 19:45:06 +0000
committerSven Wegener <swegener@gentoo.org>2007-04-23 19:45:06 +0000
commitcb172e15857721836d38c556a05b78ddc8a346c0 (patch)
treef0521443ab39e2a9b1dda1e00924b6878a9865b6 /sys-power/powerman
parentUse.mask networkmanager as it depends on libnl which doesn't compile on ia64,... (diff)
downloadgentoo-2-cb172e15857721836d38c556a05b78ddc8a346c0.tar.gz
gentoo-2-cb172e15857721836d38c556a05b78ddc8a346c0.tar.bz2
gentoo-2-cb172e15857721836d38c556a05b78ddc8a346c0.zip
Add || die after emake.
(Portage version: 2.1.2.4)
Diffstat (limited to 'sys-power/powerman')
-rw-r--r--sys-power/powerman/ChangeLog7
-rw-r--r--sys-power/powerman/powerman-1.0.20.ebuild13
2 files changed, 13 insertions, 7 deletions
diff --git a/sys-power/powerman/ChangeLog b/sys-power/powerman/ChangeLog
index 91a1e004c28d..b1cbb6b6e9a6 100644
--- a/sys-power/powerman/ChangeLog
+++ b/sys-power/powerman/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/powerman
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.1 2006/10/01 21:42:34 robbat2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.2 2007/04/23 19:45:06 swegener Exp $
+
+ 23 Apr 2007; Sven Wegener <swegener@gentoo.org> powerman-1.0.20.ebuild:
+ Add || die after emake.
*powerman-1.0.20 (01 Oct 2006)
diff --git a/sys-power/powerman/powerman-1.0.20.ebuild b/sys-power/powerman/powerman-1.0.20.ebuild
index 72b46f8286cc..6bacc1903ba7 100644
--- a/sys-power/powerman/powerman-1.0.20.ebuild
+++ b/sys-power/powerman/powerman-1.0.20.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-1.0.20.ebuild,v 1.1 2006/10/01 21:42:34 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-1.0.20.ebuild,v 1.2 2007/04/23 19:45:06 swegener Exp $
inherit eutils
@@ -29,12 +29,15 @@ src_unpack() {
}
src_compile() {
- emake
+ emake || die "emake failed"
}
src_install() {
- emake -j1 install DESTDIR="${D}" mandir="/usr/share/man"
- rm ${D}/etc/rc.d/init.d/powerman
+ emake -j1 install \
+ DESTDIR="${D}" \
+ mandir="/usr/share/man" \
+ || die "emake install failed"
+ rm "${D}"/etc/rc.d/init.d/powerman
newdoc scripts/powerman.init powerman_redhat_initd
dodoc ChangeLog DISCLAIMER NEWS TODO
}