aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-01 07:51:57 +0100
committerJustin Lecher <jlec@gentoo.org>2015-12-01 07:51:57 +0100
commit5cc6855b8f846521f1c354e79c943fa3120bea34 (patch)
treece2aa20a89c39a733282ab1f323a1742cb72c0fc /sci-libs
parentsci-biology/repeatmasker: rename and move the patch file; drop old patch for ... (diff)
downloadsci-5cc6855b8f846521f1c354e79c943fa3120bea34.tar.gz
sci-5cc6855b8f846521f1c354e79c943fa3120bea34.tar.bz2
sci-5cc6855b8f846521f1c354e79c943fa3120bea34.zip
sci-libs/lapack-reference: Add USE to build deprecated routines
Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild3
-rw-r--r--sci-libs/lapack-reference/metadata.xml6
2 files changed, 6 insertions, 3 deletions
diff --git a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
index 8623bef1f..ac88f9881 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test xblas"
+IUSE="+deprecated static-libs test xblas"
REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
@@ -82,6 +82,7 @@ src_configure() {
-DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${blas_profname})"
$(cmake-utils_use_build test TESTING)
$(cmake-utils_use_use xblas XBLAS)
+ $(cmake-utils_use_build deprecated DEPRECATED)
-DCMAKE_C_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) ${CFLAGS}"
-DCMAKE_CXX_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) ${CXXFLAGS}"
-DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS) $(numeric-int64_get_fortran_int64_abi_fflags) ${FCFLAGS}"
diff --git a/sci-libs/lapack-reference/metadata.xml b/sci-libs/lapack-reference/metadata.xml
index f9de0d5bf..520530d6b 100644
--- a/sci-libs/lapack-reference/metadata.xml
+++ b/sci-libs/lapack-reference/metadata.xml
@@ -13,8 +13,10 @@
Algebra Subprogram (BLAS).
</longdescription>
<use>
+ <flag name="deprecated">Build deprecated routines</flag>
<flag name="int64">Build the 64 bits integer library</flag>
- <flag name="xblas">Build LAPACK with extra precision (needs
- <pkg>sci-libs/xblas</pkg>)</flag>
+ <flag name="xblas">
+ Build LAPACK with extra precision (needs <pkg>sci-libs/xblas</pkg>)
+ </flag>
</use>
</pkgmetadata>