diff options
author | Eli Schwartz <eschwartz@gentoo.org> | 2024-08-09 14:24:36 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-08-09 14:26:55 -0400 |
commit | c6bf220c7b3f0fec4f6bed074774b26392f1d62e (patch) | |
tree | 0a03a846523aabeb3624b48d8de14cb13b463ede /sci-libs/ViSP | |
parent | dev-texlive/texlive-pictures: Stabilize 2023_p69409-r3 ppc64, #937396 (diff) | |
download | gentoo-c6bf220c7b3f0fec4f6bed074774b26392f1d62e.tar.gz gentoo-c6bf220c7b3f0fec4f6bed074774b26392f1d62e.tar.bz2 gentoo-c6bf220c7b3f0fec4f6bed074774b26392f1d62e.zip |
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>
Diffstat (limited to 'sci-libs/ViSP')
-rw-r--r-- | sci-libs/ViSP/ViSP-3.5.0-r1.ebuild (renamed from sci-libs/ViSP/ViSP-3.5.0.ebuild) | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-libs/ViSP/ViSP-3.5.0.ebuild b/sci-libs/ViSP/ViSP-3.5.0-r1.ebuild index 5a7052834f6b..a8833954122d 100644 --- a/sci-libs/ViSP/ViSP-3.5.0.ebuild +++ b/sci-libs/ViSP/ViSP-3.5.0-r1.ebuild @@ -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)" |