Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/cilk: cilk-5.4.6-r1.ebuild ChangeLog cilk-5.4.6.ebuild
Date: Thu, 28 Jun 2012 06:22:08
Message-Id: 20120628062159.214332004B@flycatcher.gentoo.org
1 bicatali 12/06/28 06:21:59
2
3 Modified: ChangeLog
4 Added: cilk-5.4.6-r1.ebuild
5 Removed: cilk-5.4.6.ebuild
6 Log:
7 Fixed for automake-1.12, disable force tests, force CFLAGS=-O1 (bug #423553)
8
9 (Portage version: 2.1.11.1/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 dev-lang/cilk/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/cilk/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/cilk/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/cilk/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-lang/cilk/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 22 Jan 2011 03:35:44 -0000 1.2
25 +++ ChangeLog 28 Jun 2012 06:21:59 -0000 1.3
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-lang/cilk
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/ChangeLog,v 1.2 2011/01/22 03:35:44 bicatali Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/ChangeLog,v 1.3 2012/06/28 06:21:59 bicatali Exp $
32 +
33 +*cilk-5.4.6-r1 (28 Jun 2012)
34 +
35 + 28 Jun 2012; Sébastien Fabbro <bicatali@g.o> +cilk-5.4.6-r1.ebuild,
36 + +files/cilk-5.4.6-autotools.patch, -cilk-5.4.6.ebuild:
37 + Fixed for automake-1.12, disable force tests, force CFLAGS=-O1 (bug #423553)
38
39 22 Jan 2011; Sébastien Fabbro <bicatali@g.o> cilk-5.4.6.ebuild:
40 Fixed for glibc-2.12. Added static-libs flag, moved to EAPI=2
41 @@ -14,4 +20,3 @@
42 20 Feb 2008; Michał Kiedrowicz (esqualante) <esqualante@××.pl>
43 +metadata.xml, +cilk-5.4.6.ebuild:
44 New Ebuild for bug #210816 thanks to Tommy[D], Ken69267 and tcunha
45 -
46
47
48
49 1.1 dev-lang/cilk/cilk-5.4.6-r1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/cilk/cilk-5.4.6-r1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/cilk/cilk-5.4.6-r1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: cilk-5.4.6-r1.ebuild
55 ===================================================================
56 # Copyright 1999-2012 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/cilk-5.4.6-r1.ebuild,v 1.1 2012/06/28 06:21:58 bicatali Exp $
59
60 EAPI=4
61 inherit flag-o-matic autotools eutils
62
63 DESCRIPTION="Language for multithreaded parallel programming based on ANSI C"
64 HOMEPAGE="http://supertech.csail.mit.edu/cilk"
65 SRC_URI="http://supertech.csail.mit.edu/${PN}/${P}.tar.gz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
70 IUSE="doc examples static-libs"
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${P}-autotools.patch
74 eautoreconf
75 }
76
77 src_configure() {
78 append-cppflags -D_XOPEN_SOURCE=500
79 # too many flags do not work, force -O1
80 econf --with-perfctr=no $(use_enable static-libs static) CFLAGS=-O1
81 }
82
83 src_install() {
84 emake DESTDIR="${D}" install
85 dodoc NEWS README THANKS
86 use doc && dodoc doc/manual.pdf
87 if use examples; then
88 insinto /usr/share/doc/${PF}
89 doins -r examples
90 fi
91 }