1 |
commit: 0af39b7ee94e32f4850070f88faa724388f103d6 |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Fri Dec 2 09:05:54 2016 +0000 |
4 |
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
5 |
CommitDate: Fri Dec 2 09:06:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0af39b7e |
7 |
|
8 |
sci-libs/atlas-3.10.3: Add deprecated use flag |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
sci-libs/atlas/atlas-3.10.3.ebuild | 11 ++++++++--- |
13 |
1 file changed, 8 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/sci-libs/atlas/atlas-3.10.3.ebuild b/sci-libs/atlas/atlas-3.10.3.ebuild |
16 |
index da0ef3f..2416961 100644 |
17 |
--- a/sci-libs/atlas/atlas-3.10.3.ebuild |
18 |
+++ b/sci-libs/atlas/atlas-3.10.3.ebuild |
19 |
@@ -18,10 +18,11 @@ SRC_URI="mirror://sourceforge/math-atlas/${PN}${PV}.tar.bz2 |
20 |
LICENSE="BSD" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
23 |
-IUSE="doc fortran generic lapack static-libs threads" |
24 |
+IUSE="+deprecated doc fortran generic lapack static-libs threads" |
25 |
|
26 |
-RDEPEND="" |
27 |
-DEPEND="${RDEPEND}" |
28 |
+REQUIRED_USE=" |
29 |
+ deprecated? ( lapack ) |
30 |
+ lapack? ( fortran )" |
31 |
|
32 |
S="${WORKDIR}/ATLAS" |
33 |
|
34 |
@@ -114,6 +115,10 @@ src_configure() { |
35 |
# for debugging |
36 |
echo ${myconf[@]} > myconf.out |
37 |
"${S}"/configure ${myconf[@]} || die "configure in ${confdir} failed" |
38 |
+ |
39 |
+ if use deprecated; then |
40 |
+ echo "BUILD_DEPRECATED=1" >> src/lapack/reference/make.inc.example || die |
41 |
+ fi |
42 |
} |
43 |
|
44 |
atlas_configure shared "-Fa alg -fPIC" ${EXTRA_ECONF} |