Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/clara: clara-20031214.ebuild ChangeLog
Date: Thu, 09 Oct 2008 15:31:10
Message-Id: E1KnxTn-0004pA-DZ@stork.gentoo.org
1 spock 08/10/09 15:31:07
2
3 Modified: clara-20031214.ebuild ChangeLog
4 Log:
5 Respect both user's CFLAGS and LDFLAGS.
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64)
7
8 Revision Changes Path
9 1.19 app-text/clara/clara-20031214.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/clara/clara-20031214.ebuild?rev=1.19&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/clara/clara-20031214.ebuild?rev=1.19&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/clara/clara-20031214.ebuild?r1=1.18&r2=1.19
14
15 Index: clara-20031214.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-text/clara/clara-20031214.ebuild,v
18 retrieving revision 1.18
19 retrieving revision 1.19
20 diff -u -r1.18 -r1.19
21 --- clara-20031214.ebuild 9 Oct 2008 15:21:53 -0000 1.18
22 +++ clara-20031214.ebuild 9 Oct 2008 15:31:07 -0000 1.19
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-text/clara/clara-20031214.ebuild,v 1.18 2008/10/09 15:21:53 spock Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-text/clara/clara-20031214.ebuild,v 1.19 2008/10/09 15:31:07 spock Exp $
28
29 DESCRIPTION="An OCR (Optical Character Recognition) program"
30 SRC_URI="http://www.geocities.com/claraocr/clara-20031214.tar.gz"
31 @@ -13,8 +13,13 @@
32
33 DEPEND="x11-libs/libX11"
34
35 +src_unpack() {
36 + unpack ${A}
37 + cd "${S}"
38 + sed -i -re "s/(C|LD)FLAGS =/\1FLAGS +=/" Makefile
39 +}
40 +
41 src_compile() {
42 - sed -i -e "s/CFLAGS = \(.*\)/CFLAGS = ${CFLAGS} \1/" Makefile
43 emake || die
44 emake doc || die
45 }
46
47
48
49 1.17 app-text/clara/ChangeLog
50
51 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/clara/ChangeLog?rev=1.17&view=markup
52 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/clara/ChangeLog?rev=1.17&content-type=text/plain
53 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/clara/ChangeLog?r1=1.16&r2=1.17
54
55 Index: ChangeLog
56 ===================================================================
57 RCS file: /var/cvsroot/gentoo-x86/app-text/clara/ChangeLog,v
58 retrieving revision 1.16
59 retrieving revision 1.17
60 diff -u -r1.16 -r1.17
61 --- ChangeLog 9 Oct 2008 15:21:53 -0000 1.16
62 +++ ChangeLog 9 Oct 2008 15:31:07 -0000 1.17
63 @@ -1,6 +1,9 @@
64 # ChangeLog for app-text/clara
65 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
66 -# $Header: /var/cvsroot/gentoo-x86/app-text/clara/ChangeLog,v 1.16 2008/10/09 15:21:53 spock Exp $
67 +# $Header: /var/cvsroot/gentoo-x86/app-text/clara/ChangeLog,v 1.17 2008/10/09 15:31:07 spock Exp $
68 +
69 + 09 Oct 2008; Michał Januszewski <spock@g.o> clara-20031214.ebuild:
70 + Respect both user's CFLAGS and LDFLAGS.
71
72 09 Oct 2008; Michał Januszewski <spock@g.o> clara-20031214.ebuild:
73 Set CFLAGS in src_compile instead of src_unpack.