From c6bf220c7b3f0fec4f6bed074774b26392f1d62e Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 9 Aug 2024 14:24:36 -0400 Subject: [PATCH] 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 --- sci-libs/ViSP/{ViSP-3.5.0.ebuild => ViSP-3.5.0-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) rename sci-libs/ViSP/{ViSP-3.5.0.ebuild => ViSP-3.5.0-r1.ebuild} (96%) diff --git a/sci-libs/ViSP/ViSP-3.5.0.ebuild b/sci-libs/ViSP/ViSP-3.5.0-r1.ebuild similarity index 96% rename from sci-libs/ViSP/ViSP-3.5.0.ebuild rename to sci-libs/ViSP/ViSP-3.5.0-r1.ebuild index 5a7052834f6b7..a8833954122d1 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)"