commit:     150a8c1ca0830ab41b9a33075f8eac102cfe9421
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 02:50:22 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 02:55:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=150a8c1c

sci-libs/blas-reference: ebuild maintenance, cleanup

Package-Manager: portage-2.3.0

 sci-libs/blas-reference/blas-reference-20151113-r1.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild 
b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
index d5c4ac3..afa3c5b 100644
--- a/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
+++ b/sci-libs/blas-reference/blas-reference-20151113-r1.ebuild
@@ -42,15 +42,10 @@ src_prepare() {
 }
 
 src_configure() {
-       local FCFLAGS="${FCFLAGS}"
-       append-fflags $($(tc-getPKG_CONFIG) --cflags ${blas_profname})
-       append-fflags $(get_abi_CFLAGS)
-       append-fflags $(numeric-int64_get_fortran_int64_abi_fflags)
-
        local mycmakeargs=(
                -Wno-dev
                -DUSE_OPTIMIZED_BLAS=OFF
-               -DCMAKE_Fortran_FLAGS="${FCFLAGS}"
+               -DCMAKE_Fortran_FLAGS="$(get_abi_CFLAGS) ${FCFLAGS}"
                -DBUILD_SHARED_LIBS=ON
                -DBUILD_STATIC_LIBS=ON
        )
@@ -59,10 +54,7 @@ src_configure() {
 }
 
 src_compile() {
-       local each target_dirs=( BLAS )
-       for each in ${target_dirs[@]}; do
-               cmake-utils_src_compile -C ${each}
-       done
+       cmake-utils_src_compile -C BLAS
 }
 
 src_install() {

Reply via email to