sci-libs/ViSP: enforce system dependency on lapack

It will build against a system lapack if one is installed. If it isn't
installed at build time, it includes its own copy of clapack, which
fails with LTO type errors.

Closes: https://bugs.gentoo.org/927486
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-08-09 14:24:36 -04:00
parent b1317450f9
commit c6bf220c7b

View File

@@ -21,6 +21,7 @@ REQUIRED_USE="motif? ( coin )"
RESTRICT="!test? ( test )"
COMMON_DEPEND="
virtual/lapack
coin? (
>=media-libs/coin-4
virtual/opengl
@@ -76,6 +77,9 @@ src_configure() {
"-DUSE_GSL=$(usex gsl ON OFF)"
"-DUSE_JPEG=$(usex jpeg ON OFF)"
"-DUSE_PNG=$(usex png ON OFF)"
"-DUSE_LAPACK=ON"
# disable using the builtin copy
"-DWITH_LAPACK=OFF"
"-DUSE_LIBUSB_1=$(usex usb ON OFF)"
"-DUSE_OGRE=$(usex ogre ON OFF)"
"-DUSE_OIS=$(usex ogre ON OFF)"