aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-10-06 08:53:28 +0200
committerJustin Lecher <jlec@gentoo.org>2014-10-06 08:53:28 +0200
commitc64c5fec8b39f174a8064223b8e5d0311e238cd7 (patch)
treeb601f49b8f94f7135d58a481bdcbe57660d2dd84
parentMerge pull request #194 from gentoo-science/lapack-multibuild (diff)
downloadsci-c64c5fec8b39f174a8064223b8e5d0311e238cd7.tar.gz
sci-c64c5fec8b39f174a8064223b8e5d0311e238cd7.tar.bz2
sci-c64c5fec8b39f174a8064223b8e5d0311e238cd7.zip
sci-libs/lapack-reference: respect flags
Package-Manager: portage-2.2.14_rc1
-rw-r--r--sci-libs/lapack-reference/ChangeLog4
-rw-r--r--sci-libs/lapack-reference/lapack-reference-9999.ebuild4
-rw-r--r--sci-libs/lapack-reference/metadata.xml12
3 files changed, 12 insertions, 8 deletions
diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog
index 85c213985..f8e700c55 100644
--- a/sci-libs/lapack-reference/ChangeLog
+++ b/sci-libs/lapack-reference/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.51 2010/10/02 20:49:51 grobian Exp $
+ 06 Oct 2014; Justin Lecher <jlec@gentoo.org> lapack-reference-9999.ebuild,
+ metadata.xml:
+ respect flags
+
25 Sep 2014; Fran├žois Bissey <francois.bissey@canterbury.ac.nz>
lapack-reference-9999.ebuild:
The dependency needs to be on xblas[fortran] otherwise libxblas won't have the
diff --git a/sci-libs/lapack-reference/lapack-reference-9999.ebuild b/sci-libs/lapack-reference/lapack-reference-9999.ebuild
index e2ef959b1..050c477ee 100644
--- a/sci-libs/lapack-reference/lapack-reference-9999.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-9999.ebuild
@@ -173,12 +173,12 @@ src_configure() {
)
if [[ "${MULTIBUILD_ID}" =~ "_${INT64_SUFFIX}" ]]; then
mycmakeargs+=(
- -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS) -fdefault-integer-8"
+ -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS) -fdefault-integer-8 ${FCFLAGS}"
-DLAPACK_PKGCONFIG_FFLAGS="-fdefault-integer-8"
)
else
mycmakeargs+=(
- -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS)"
+ -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS) ${FCFLAGS}"
-DLAPACK_PKGCONFIG_FFLAGS=""
)
fi
diff --git a/sci-libs/lapack-reference/metadata.xml b/sci-libs/lapack-reference/metadata.xml
index 9b618aec3..f9de0d5bf 100644
--- a/sci-libs/lapack-reference/metadata.xml
+++ b/sci-libs/lapack-reference/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
The Linear Algebra PACKage (LAPACK) is a comprehensive library that
does linear algebra operations including matrix inversions, least
squared solutions to linear sets of equations, eigenvector analysis,
@@ -12,9 +12,9 @@
Netlib for LAPACK and optionnally the one for the Basic Linear
Algebra Subprogram (BLAS).
</longdescription>
-<use>
- <flag name="int64">Build the 64 bits integer library</flag>
- <flag name="xblas">Build LAPACK with extra precision (needs
+ <use>
+ <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>
-</use>
+ </use>
</pkgmetadata>