From: Sergey Popov Date: Mon, 19 Oct 2015 20:42:53 +0000 (+0300) Subject: sci-biology/seqan: drop SSE instruction check in pkg_pretend(), which sometimes fails... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c72d47c69f192bd9877544f84c0de48e63f99ed5;p=gentoo.git 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 --- 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 " | 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