summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-08-09 18:19:28 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-08-09 18:19:28 +0000
commit7a2247b29a7186ecae57e31ea32a99837ffad2d4 (patch)
tree46b08e57d300fe397525e127f0ab7a456fb912b0 /sci-biology/shrimp/shrimp-2.0.1.ebuild
parentTweak sys-libs/timezone-data dependency based on USE=vanilla #331775 by Alons... (diff)
downloadhistorical-7a2247b29a7186ecae57e31ea32a99837ffad2d4.tar.gz
historical-7a2247b29a7186ecae57e31ea32a99837ffad2d4.tar.bz2
historical-7a2247b29a7186ecae57e31ea32a99837ffad2d4.zip
Fix dependency on openmp.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/shrimp/shrimp-2.0.1.ebuild')
-rw-r--r--sci-biology/shrimp/shrimp-2.0.1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-biology/shrimp/shrimp-2.0.1.ebuild b/sci-biology/shrimp/shrimp-2.0.1.ebuild
index b682f4f95cc8..1bef1af60912 100644
--- a/sci-biology/shrimp/shrimp-2.0.1.ebuild
+++ b/sci-biology/shrimp/shrimp-2.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/shrimp/shrimp-2.0.1.ebuild,v 1.2 2010/08/09 17:56:29 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/shrimp/shrimp-2.0.1.ebuild,v 1.3 2010/08/09 18:19:28 xarthisius Exp $
EAPI="2"
@@ -17,11 +17,15 @@ SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
-DEPEND="sys-devel/gcc[openmp]"
+DEPEND=">=sys-devel/gcc-4.3[openmp]"
RDEPEND="${DEPEND}" # -lgomp
S=${WORKDIR}/SHRiMP_${MY_PV}
+pkg_setup() {
+ tc-has-openmp || die "At least gcc-4.3 is required for openmp support."
+}
+
src_prepare() {
sed -i -e '1 a #include <stdint.h>' common/dag_glue.cpp || die #294811
# respect LDFLAGS wrt 331823