commit:     a55f68092a4968be1bfed092d4eb47a1bff1b486
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 23 20:41:03 2016 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 20:41:03 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a55f6809

sci-chemistry/nwchem: Fix build with blas and lapack

Package-Manager: portage-2.2.28

 sci-chemistry/nwchem/nwchem-6.5_p26243-r7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/nwchem/nwchem-6.5_p26243-r7.ebuild 
b/sci-chemistry/nwchem/nwchem-6.5_p26243-r7.ebuild
index 4765e84..bf6cd69 100644
--- a/sci-chemistry/nwchem/nwchem-6.5_p26243-r7.ebuild
+++ b/sci-chemistry/nwchem/nwchem-6.5_p26243-r7.ebuild
@@ -193,8 +193,8 @@ src_compile() {
                lapackpkg="lapack-int64"
        fi
        use blas && export BLASOPT="$($(tc-getPKG_CONFIG) --libs ${blaspkg})"
-       use lapack && export BLASOPT+="$($(tc-getPKG_CONFIG) --libs 
${lapackpkg})"
-       use scalapack && export BLASOPT+="$($(tc-getPKG_CONFIG) --libs 
scalapack)"
+       use lapack && export BLASOPT+=" $($(tc-getPKG_CONFIG) --libs 
${lapackpkg})"
+       use scalapack && export BLASOPT+=" $($(tc-getPKG_CONFIG) --libs 
scalapack)"
        if use cuda; then
                export TCE_CUDA=Y
                export CUDA_PATH=/opt/cuda

Reply via email to