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-block/eject-bsd: eject-bsd-1.5.ebuild
Date: Thu, 31 Mar 2011 08:55:39
Message-Id: 20110331085528.4329520054@flycatcher.gentoo.org
1 ssuominen 11/03/31 08:55:28
2
3 Modified: eject-bsd-1.5.ebuild
4 Log:
5 At least die if the binary isn't found
6
7 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 sys-block/eject-bsd/eject-bsd-1.5.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild?r1=1.4&r2=1.5
15
16 Index: eject-bsd-1.5.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- eject-bsd-1.5.ebuild 12 Aug 2009 19:22:26 -0000 1.4
23 +++ eject-bsd-1.5.ebuild 31 Mar 2011 08:55:28 -0000 1.5
24 @@ -1,6 +1,6 @@
25 -# Copyright 1999-2006 Gentoo Foundation
26 +# Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild,v 1.4 2009/08/12 19:22:26 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild,v 1.5 2011/03/31 08:55:28 ssuominen Exp $
30
31 inherit eutils portability toolchain-funcs
32
33 @@ -24,16 +24,16 @@
34 unpack ${A}
35 cd "${S}"
36
37 - epatch "${FILESDIR}/${P}-manpage.patch"
38 - epatch "${FILESDIR}/${P}-devname.patch"
39 + epatch "${FILESDIR}"/${P}-manpage.patch
40 + epatch "${FILESDIR}"/${P}-devname.patch
41 }
42
43 src_compile() {
44 - $(get_bmake) CC="$(tc-getCC)" PREFIX="/usr" eject || die "$(get_bmake) failed"
45 + $(get_bmake) CC="$(tc-getCC)" PREFIX=/usr eject || die
46 }
47
48 src_install() {
49 - dobin "${S}/eject"
50 - doman "${S}/eject.1"
51 - dodoc "${S}/README"
52 + dobin "${S}"/eject || die
53 + doman "${S}"/eject.1
54 + dodoc "${S}"/README
55 }