From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 1E3B21395E2 for ; Fri, 2 Dec 2016 09:06:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 532B1E0BA0; Fri, 2 Dec 2016 09:06:46 +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 36AF2E0BA0 for ; Fri, 2 Dec 2016 09:06:45 +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 100E634100F for ; Fri, 2 Dec 2016 09:06:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A69724A8 for ; Fri, 2 Dec 2016 09:06:43 +0000 (UTC) From: "Marius Brehler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marius Brehler" Message-ID: <1480669577.0af39b7ee94e32f4850070f88faa724388f103d6.marbre@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/atlas/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/atlas/atlas-3.10.3.ebuild X-VCS-Directories: sci-libs/atlas/ X-VCS-Committer: marbre X-VCS-Committer-Name: Marius Brehler X-VCS-Revision: 0af39b7ee94e32f4850070f88faa724388f103d6 X-VCS-Branch: master Date: Fri, 2 Dec 2016 09:06:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: db038266-3b82-4a0f-a3fc-f846eff20ebf X-Archives-Hash: d2a8f1555228465a0772db86884babcb commit: 0af39b7ee94e32f4850070f88faa724388f103d6 Author: Marius Brehler linux sungazer de> AuthorDate: Fri Dec 2 09:05:54 2016 +0000 Commit: Marius Brehler linux sungazer de> CommitDate: Fri Dec 2 09:06:17 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0af39b7e sci-libs/atlas-3.10.3: Add deprecated use flag Package-Manager: portage-2.3.0 sci-libs/atlas/atlas-3.10.3.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sci-libs/atlas/atlas-3.10.3.ebuild b/sci-libs/atlas/atlas-3.10.3.ebuild index da0ef3f..2416961 100644 --- a/sci-libs/atlas/atlas-3.10.3.ebuild +++ b/sci-libs/atlas/atlas-3.10.3.ebuild @@ -18,10 +18,11 @@ SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2 LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc fortran generic lapack static-libs threads" +IUSE="+deprecated doc fortran generic lapack static-libs threads" -RDEPEND="" -DEPEND="${RDEPEND}" +REQUIRED_USE=" + deprecated? ( lapack ) + lapack? ( fortran )" S="${WORKDIR}/ATLAS" @@ -114,6 +115,10 @@ src_configure() { # for debugging echo ${myconf[@]} > myconf.out "${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" + + if use deprecated; then + echo "BUILD_DEPRECATED=1" >> src/lapack/reference/make.inc.example || die + fi } atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF}