summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-01-22 03:35:44 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-01-22 03:35:44 +0000
commit6a05f4243782b5ad594622cb5b196e1a23003c56 (patch)
tree995957f6bd46d4b4ec988443735efed540b338e9 /dev-lang/cilk
parentUpstream reports that a merging accident kept the fix out of the 1.8.2.1 tarb... (diff)
downloadgentoo-2-6a05f4243782b5ad594622cb5b196e1a23003c56.tar.gz
gentoo-2-6a05f4243782b5ad594622cb5b196e1a23003c56.tar.bz2
gentoo-2-6a05f4243782b5ad594622cb5b196e1a23003c56.zip
Fixed for glibc-2.12. Added static-libs flag, moved to EAPI=2
(Portage version: 2.1.9.34/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/cilk')
-rw-r--r--dev-lang/cilk/ChangeLog7
-rw-r--r--dev-lang/cilk/cilk-5.4.6.ebuild16
2 files changed, 15 insertions, 8 deletions
diff --git a/dev-lang/cilk/ChangeLog b/dev-lang/cilk/ChangeLog
index af561428a1bd..417084055910 100644
--- a/dev-lang/cilk/ChangeLog
+++ b/dev-lang/cilk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/cilk
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/ChangeLog,v 1.1 2008/10/27 14:41:53 bicatali Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/ChangeLog,v 1.2 2011/01/22 03:35:44 bicatali Exp $
+
+ 22 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> cilk-5.4.6.ebuild:
+ Fixed for glibc-2.12. Added static-libs flag, moved to EAPI=2
*cilk-5.4.6 (27 Oct 2008)
diff --git a/dev-lang/cilk/cilk-5.4.6.ebuild b/dev-lang/cilk/cilk-5.4.6.ebuild
index 2e463f0da68f..641fa4031644 100644
--- a/dev-lang/cilk/cilk-5.4.6.ebuild
+++ b/dev-lang/cilk/cilk-5.4.6.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/cilk-5.4.6.ebuild,v 1.1 2008/10/27 14:41:53 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/cilk-5.4.6.ebuild,v 1.2 2011/01/22 03:35:44 bicatali Exp $
+EAPI=2
inherit flag-o-matic
DESCRIPTION="Language for multithreaded parallel programming based on ANSI C."
@@ -11,14 +12,17 @@ SRC_URI="http://supertech.csail.mit.edu/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc examples"
+IUSE="doc examples static-libs"
-src_compile() {
+src_prepare() {
# cilk compiler doesn't like this flags...
filter-flags "-pipe"
filter-flags "-ggdb"
- econf
- emake || die "emake failed"
+ append-cppflags -D_XOPEN_SOURCE=500
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
}
src_install() {