commit: c64c5fec8b39f174a8064223b8e5d0311e238cd7 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Mon Oct 6 06:53:28 2014 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Oct 6 06:53:28 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c64c5fec
sci-libs/lapack-reference: respect flags Package-Manager: portage-2.2.14_rc1 --- sci-libs/lapack-reference/ChangeLog | 4 ++++ sci-libs/lapack-reference/lapack-reference-9999.ebuild | 4 ++-- sci-libs/lapack-reference/metadata.xml | 12 ++++++------ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog index 85c2139..f8e700c 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 <j...@gentoo.org> lapack-reference-9999.ebuild, + metadata.xml: + respect flags + 25 Sep 2014; François Bissey <francois.bis...@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 e2ef959..050c477 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 9b618ae..f9de0d5 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>