From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-928778-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 53A7B13908F
	for <garchives@archives.gentoo.org>; Wed,  1 Feb 2017 23:13:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 66082E0C5C;
	Wed,  1 Feb 2017 23:13:43 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 40085E0C58
	for <gentoo-commits@lists.gentoo.org>; Wed,  1 Feb 2017 23:13:43 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4A3E3340EE8
	for <gentoo-commits@lists.gentoo.org>; Wed,  1 Feb 2017 23:13:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DB23B3D85
	for <gentoo-commits@lists.gentoo.org>; Wed,  1 Feb 2017 23:13:40 +0000 (UTC)
From: "Matthias Maier" <tamiko@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, "Matthias Maier" <tamiko@gentoo.org>
Message-ID: <1485990681.e75fe5b590c251baf45963809a52f1d2432738eb.tamiko@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/eigen/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-cpp/eigen/eigen-3.3.1.ebuild
X-VCS-Directories: dev-cpp/eigen/
X-VCS-Committer: tamiko
X-VCS-Committer-Name: Matthias Maier
X-VCS-Revision: e75fe5b590c251baf45963809a52f1d2432738eb
X-VCS-Branch: master
Date: Wed,  1 Feb 2017 23:13:40 +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: 35f3755e-a98c-4989-8c2d-8fc6c9bb120b
X-Archives-Hash: 81ab437e03a76f5e7165f95587864fe8

commit:     e75fe5b590c251baf45963809a52f1d2432738eb
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 23:01:10 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 23:11:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e75fe5b5

dev-cpp/eigen: fix sandbox violation, use system fortran compiler, bug #607800

Apply the patch proposed by Guilherme Amadio <amadio <AT> gentoo.org> to fix
test configuration and compiler setup.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-cpp/eigen/eigen-3.3.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/eigen/eigen-3.3.1.ebuild b/dev-cpp/eigen/eigen-3.3.1.ebuild
index fb5d8fe..7c58917 100644
--- a/dev-cpp/eigen/eigen-3.3.1.ebuild
+++ b/dev-cpp/eigen/eigen-3.3.1.ebuild
@@ -62,6 +62,10 @@ src_prepare() {
 
 	if ! use test; then
 		sed -i CMakeLists.txt \
+			-e "/add_subdirectory(test/d" \
+			|| die "sed disable tests failed"
+
+		sed -i CMakeLists.txt \
 			-e "/add_subdirectory(blas/d" \
 			-e "/add_subdirectory(lapack/d" \
 			|| die "sed disable unused bundles failed"
@@ -81,7 +85,6 @@ src_compile() {
 
 src_test() {
 	local mycmakeargs=(
-		-DEIGEN_BUILD_TESTS=ON
 		-DEIGEN_TEST_ALTIVEC="$(usex altivec)"
 		-DEIGEN_TEST_CXX11="$(usex c++11)"
 		-DEIGEN_TEST_CUDA="$(usex cuda)"