Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/audit: audit-2.0.5.ebuild
Date: Wed, 30 Mar 2011 17:20:40
Message-Id: 20110330172029.D5B5320054@flycatcher.gentoo.org
1 ssuominen 11/03/30 17:20:29
2
3 Modified: audit-2.0.5.ebuild
4 Log:
5 add some missing die
6
7 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 sys-process/audit/audit-2.0.5.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/audit/audit-2.0.5.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/audit/audit-2.0.5.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/audit/audit-2.0.5.ebuild?r1=1.3&r2=1.4
15
16 Index: audit-2.0.5.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.0.5.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- audit-2.0.5.ebuild 7 Feb 2011 21:38:55 -0000 1.3
23 +++ audit-2.0.5.ebuild 30 Mar 2011 17:20:29 -0000 1.4
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2011 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.0.5.ebuild,v 1.3 2011/02/07 21:38:55 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.0.5.ebuild,v 1.4 2011/03/30 17:20:29 ssuominen Exp $
29
30 EAPI="3"
31 PYTHON_DEPEND="2"
32 @@ -47,11 +47,11 @@
33 # Do not build GUI tools
34 sed -i \
35 -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
36 - "${S}"/configure.ac
37 + "${S}"/configure.ac || die
38 sed -i \
39 -e 's,system-config-audit,,g' \
40 -e '/^SUBDIRS/s,\\$,,g' \
41 - "${S}"/Makefile.am
42 + "${S}"/Makefile.am || die
43 rm -rf "${S}"/system-config-audit
44
45 # Probably goes away in 1.6.9
46 @@ -97,7 +97,7 @@
47 building() {
48 emake \
49 PYTHON_VERSION="$(python_get_version)" \
50 - pyexecdir="$(python_get_sitedir)"
51 + pyexecdir="$(python_get_sitedir)" || die
52 }
53 local dir
54 for dir in ${PYTHON_DIRS}; do
55 @@ -106,14 +106,14 @@
56 }
57
58 src_install() {
59 - emake DESTDIR="${D}" install || die "emake install failed"
60 + emake DESTDIR="${D}" install || die
61
62 installation() {
63 emake \
64 DESTDIR="${D}" \
65 PYTHON_VERSION="$(python_get_version)" \
66 pyexecdir="$(python_get_sitedir)" \
67 - install
68 + install || die
69 }
70 local dir
71 for dir in ${PYTHON_DIRS}; do