commit: c72d47c69f192bd9877544f84c0de48e63f99ed5 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> AuthorDate: Mon Oct 19 20:42:53 2015 +0000 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> CommitDate: Mon Oct 19 20:43:18 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72d47c6
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 sci-biology/seqan/seqan-1.4.2.ebuild | 15 +++------------ 1 file 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 a7e436a..4b9740c 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
