mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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)"
|
||||
Reference in New Issue
Block a user