diff options
Diffstat (limited to 'sci-biology/shrimp/shrimp-2.0.1.ebuild')
-rw-r--r-- | sci-biology/shrimp/shrimp-2.0.1.ebuild | 8 |
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 |