summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/seqan')
-rw-r--r--sci-biology/seqan/seqan-1.3.1-r1.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-biology/seqan/seqan-1.3.1-r1.ebuild b/sci-biology/seqan/seqan-1.3.1-r1.ebuild
index a74eac3ccfce..2bcb7f651f5b 100644
--- a/sci-biology/seqan/seqan-1.3.1-r1.ebuild
+++ b/sci-biology/seqan/seqan-1.3.1-r1.ebuild
@@ -20,11 +20,19 @@ IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
- sci-biology/samtools"
+ ~sci-biology/samtools-0.1.19"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${P}/cmake
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ [[ $(gcc-major-version) -gt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -gt 8 ]] ) \
+ && die "Sorry, but gcc 4.9 or higher is unsupported"
+ fi
+}
+
src_prepare() {
append-cppflags -I"${EPREFIX}/usr/include/bam"
rm -rf "${S}"/../lib/samtools || die