Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/last: ChangeLog last-184.ebuild last-162.ebuild
Date: Wed, 23 Nov 2011 08:23:18
Message-Id: 20111123082308.8D1A32004B@flycatcher.gentoo.org
1 jlec 11/11/23 08:23:08
2
3 Modified: ChangeLog last-184.ebuild
4 Removed: last-162.ebuild
5 Log:
6 Dropped old, respect LDFLAGS
7
8 (Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.16 sci-biology/last/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/last/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/last/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/last/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/last/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 25 Sep 2011 22:45:35 -0000 1.15
24 +++ ChangeLog 23 Nov 2011 08:23:08 -0000 1.16
25 @@ -1,6 +1,10 @@
26 # ChangeLog for sci-biology/last
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/last/ChangeLog,v 1.15 2011/09/25 22:45:35 weaver Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/last/ChangeLog,v 1.16 2011/11/23 08:23:08 jlec Exp $
30 +
31 + 23 Nov 2011; Justin Lecher <jlec@g.o> -last-162.ebuild,
32 + last-184.ebuild:
33 + Dropped old, respect LDFLAGS
34
35 *last-184 (25 Sep 2011)
36
37
38
39
40 1.2 sci-biology/last/last-184.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/last/last-184.ebuild?rev=1.2&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/last/last-184.ebuild?rev=1.2&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/last/last-184.ebuild?r1=1.1&r2=1.2
45
46 Index: last-184.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/sci-biology/last/last-184.ebuild,v
49 retrieving revision 1.1
50 retrieving revision 1.2
51 diff -u -r1.1 -r1.2
52 --- last-184.ebuild 25 Sep 2011 22:45:35 -0000 1.1
53 +++ last-184.ebuild 23 Nov 2011 08:23:08 -0000 1.2
54 @@ -1,8 +1,8 @@
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/last/last-184.ebuild,v 1.1 2011/09/25 22:45:35 weaver Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/last/last-184.ebuild,v 1.2 2011/11/23 08:23:08 jlec Exp $
59
60 -EAPI="2"
61 +EAPI=4
62
63 inherit eutils toolchain-funcs
64
65 @@ -18,14 +18,20 @@
66 DEPEND="app-arch/unzip"
67 RDEPEND=""
68
69 +src_prepare() {
70 + sed \
71 + -e 's:-o $@:$(LDFLAGS) -o $@:g' \
72 + -i src/makefile || die
73 +}
74 +
75 src_compile() {
76 emake -e -C src CXX="$(tc-getCXX)" \
77 - STRICT="${LDFLAGS}" || die
78 + STRICT="" || die
79 }
80
81 src_install() {
82 - dobin src/last{al,db,ex} || die
83 + dobin src/last{al,db,ex}
84 exeinto /usr/share/${PN}/scripts
85 - doexe scripts/* || die
86 - dodoc doc/*.txt ChangeLog.txt README.txt || die
87 + doexe scripts/*
88 + dodoc doc/*.txt ChangeLog.txt README.txt
89 }