sci-libs/blas-reference: ebuild maintenance, cleanup
authorMatthias Maier <tamiko@gentoo.org>
Fri, 30 Sep 2016 02:50:22 +0000 (21:50 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Fri, 30 Sep 2016 02:55:17 +0000 (21:55 -0500)
Package-Manager: portage-2.3.0

sci-libs/blas-reference/blas-reference-20151113-r1.ebuild

index d5c4ac3829a51320971d73cba6602c748967cdbc..afa3c5bf4c3a423cd9c04e081e30789471b1931a 100644 (file)
@@ -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() {