From a8eb973f55d83f88dbf22124a5e30b75ec547899 Mon Sep 17 00:00:00 2001 From: James Calligeros Date: Sat, 29 Jun 2024 16:39:40 +1000 Subject: [PATCH] dev-python/pillow: fix build with USE="-truetype" Build fails if USE="-truetype" due to implied flags conflicing with the vendor_{raqm,fribidi} = False flags. Guard them behind a usex so that they are only enabled if USE="truetype" Closes: https://bugs.gentoo.org/935124 Signed-off-by: James Calligeros Closes: https://github.com/gentoo/gentoo/pull/37345 Signed-off-by: Sam James --- dev-python/pillow/pillow-10.3.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pillow/pillow-10.3.0.ebuild b/dev-python/pillow/pillow-10.3.0.ebuild index cb13d5f023900..c1d84827dc090 100644 --- a/dev-python/pillow/pillow-10.3.0.ebuild +++ b/dev-python/pillow/pillow-10.3.0.ebuild @@ -82,8 +82,8 @@ python_configure_all() { [build_ext] debug = True disable_platform_guessing = True - vendor_raqm = False - vendor_fribidi = False + $(usex truetype "vendor_raqm = False" "") # BUG 935124 + $(usex truetype "vendor_fribidi = False" "") # ditto $(usepil truetype)_freetype = True $(usepil jpeg)_jpeg = True $(usepil jpeg2k)_jpeg2000 = True