summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2015-10-19 23:42:53 +0300
committerSergey Popov <pinkbyte@gentoo.org>2015-10-19 23:43:18 +0300
commitc72d47c69f192bd9877544f84c0de48e63f99ed5 (patch)
treed977c41e2d3924c6dc47b8309d1fe2972875413c /sci-biology
parentapp-text/ghostscript-gpl: Bump to version 9.18 (diff)
downloadgentoo-c72d47c69f192bd9877544f84c0de48e63f99ed5.tar.gz
gentoo-c72d47c69f192bd9877544f84c0de48e63f99ed5.tar.bz2
gentoo-c72d47c69f192bd9877544f84c0de48e63f99ed5.zip
sci-biology/seqan: drop SSE instruction check in pkg_pretend(), which sometimes fails on correct situations, add -msse4.1 unconditionally
Package-Manager: portage-2.2.20
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/seqan/seqan-1.4.2.ebuild15
1 files changed, 3 insertions, 12 deletions
diff --git a/sci-biology/seqan/seqan-1.4.2.ebuild b/sci-biology/seqan/seqan-1.4.2.ebuild
index a7e436a2013b..4b9740c2d205 100644
--- a/sci-biology/seqan/seqan-1.4.2.ebuild
+++ b/sci-biology/seqan/seqan-1.4.2.ebuild
@@ -15,9 +15,9 @@ SRC_URI="http://packages.${PN}.de/${PN}-src/${PN}-src-${PV}.tar.gz"
SLOT="0"
LICENSE="BSD GPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="cpu_flags_x86_sse4_1"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE} cpu_flags_x86_sse4_1"
RDEPEND="${PYTHON_DEPS}
sci-biology/samtools"
@@ -28,17 +28,8 @@ PATCHES=(
"${FILESDIR}"/${P}-include.patch
)
-pkg_pretend() {
- [[ ${MERGE_TYPE} = "binary" ]] && return 0
- if use amd64; then
- if ! echo "#include <smmintrin.h>" | gcc -E - 2>&1 > /dev/null; then
- ewarn "Need at least SSE4.1 support"
- die "Missing SSE4.1 support"
- fi
- fi
-}
-
src_prepare() {
+ append-cppflags -msse4.1
rm -f \
util/cmake/FindZLIB.cmake \
|| die