commit:     82e6a754f111f9cdb82f33176332d7b392f23999
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 06:16:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 06:16:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e6a754

media-libs/lcms: unconditionally enable threads

They're default on upstream.

Closes: https://bugs.gentoo.org/869740
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/lcms/{lcms-2.14.ebuild => lcms-2.14-r1.ebuild} | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/media-libs/lcms/lcms-2.14.ebuild 
b/media-libs/lcms/lcms-2.14-r1.ebuild
similarity index 92%
rename from media-libs/lcms/lcms-2.14.ebuild
rename to media-libs/lcms/lcms-2.14-r1.ebuild
index 359754c152ef..ecbc609f0e58 100644
--- a/media-libs/lcms/lcms-2.14.ebuild
+++ b/media-libs/lcms/lcms-2.14-r1.ebuild
@@ -13,11 +13,9 @@ S="${WORKDIR}/lcms2-${PV}"
 LICENSE="MIT"
 SLOT="2"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc jpeg static-libs test +threads tiff zlib"
+IUSE="doc jpeg static-libs tiff zlib"
 REQUIRED_USE="tiff? ( zlib )"
 
-RESTRICT="!test? ( test )"
-
 RDEPEND="
        jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
        tiff? ( >=media-libs/tiff-4.0.3-r6:=[${MULTILIB_USEDEP}] )
@@ -37,9 +35,9 @@ src_prepare() {
 
 multilib_src_configure() {
        local myeconfargs=(
+               --enable-threads
                $(use_with jpeg)
                $(use_enable static-libs static)
-               $(use_with threads)
                $(use_with tiff)
                $(use_with zlib)
        )

Reply via email to