From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-864530-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EAFE61388C0 for <garchives@archives.gentoo.org>; Sat, 20 Feb 2016 15:39:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DEB021C027; Sat, 20 Feb 2016 15:39:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7D1821C027 for <gentoo-commits@lists.gentoo.org>; Sat, 20 Feb 2016 15:39:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89C00340D58 for <gentoo-commits@lists.gentoo.org>; Sat, 20 Feb 2016 15:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38D5C8EA for <gentoo-commits@lists.gentoo.org>; Sat, 20 Feb 2016 15:39:21 +0000 (UTC) From: "Justin Lecher" <jlec@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" <jlec@gentoo.org> Message-ID: <1455982758.464f91a53892bc24081d94f18afb5ecfd86defec.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/exodusii/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/exodusii/exodusii-6.02.ebuild X-VCS-Directories: sci-libs/exodusii/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 464f91a53892bc24081d94f18afb5ecfd86defec X-VCS-Branch: master Date: Sat, 20 Feb 2016 15:39:21 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 740e1f0b-691e-418e-9088-1ea50f66b889 X-Archives-Hash: 430f50a29b43b093e3d8519dd9a9bd9e commit: 464f91a53892bc24081d94f18afb5ecfd86defec Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sat Feb 20 14:54:06 2016 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sat Feb 20 15:39:18 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=464f91a5 sci-libs/exodusii: Drop check for FORTRAN compiler if none is required Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558392 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> sci-libs/exodusii/exodusii-6.02.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sci-libs/exodusii/exodusii-6.02.ebuild b/sci-libs/exodusii/exodusii-6.02.ebuild index 6eec329..8b05c1c 100644 --- a/sci-libs/exodusii/exodusii-6.02.ebuild +++ b/sci-libs/exodusii/exodusii-6.02.ebuild @@ -29,6 +29,14 @@ S="${WORKDIR}"/${MY_P}/${MY_PN} PATCHES=( "${FILESDIR}"/${PN}-5.26-multilib.patch ) +src_prepare() { + use test || \ + sed \ + -e 's:Fortran::g' \ + -i CMakeLists.txt || die + cmake-utils_src_prepare +} + src_configure() { local mycmakeargs=( -DLIB_INSTALL_DIR=$(get_libdir)