Subject: CVS commit: pkgsrc/math/lapack
From: Dr. Thomas Orgis
Date: 2021-05-13 09:52:05
Message id: 20210513075205.6C015FA95@cvs.NetBSD.org

Log Message:
cblas: Restore: Fix link to Fortran libraries by using Fortran compiler as linker

This was lost on the recent rework of the patches:

On NetBSD.
In PKGSRC_FORTRAM=gfortran case, libcblas has no RPATH=/usr/pkg/gccXX/lib
and libgfortran and libquadmath are not found.
In PKGSRC_FORTRAN=g95 case, libcblas has no
RPATH=/usr/pkg/lib/gcc-lib/x86_64--netbsd/4.1.2 and libf95 is not found.

Use Fortran compiler as linker instread of C compiler to fix link.

Files:
RevisionActionfile
1.26modifypkgsrc/math/lapack/distinfo
1.4modifypkgsrc/math/lapack/patches/patch-CBLAS_src_CMakeLists.txt
1.3modifypkgsrc/math/lapack/patches/patch-CMakeLists.txt