From eec063365f7f66cbcf5416846fc6bab63a16a7a0 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Fri, 13 Apr 2018 12:40:18 +0900 Subject: dev-python/pillow: pass configuration options correctly. distutils-r1_src_compile does not take arguments. All arguments have to be passed via mydistutilsargs. Package-Manager: Portage-2.3.28, Repoman-2.3.9 --- dev-python/pillow/pillow-4.3.0.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'dev-python') diff --git a/dev-python/pillow/pillow-4.3.0.ebuild b/dev-python/pillow/pillow-4.3.0.ebuild index d1c476ffeb24..0106f57a945b 100644 --- a/dev-python/pillow/pillow-4.3.0.ebuild +++ b/dev-python/pillow/pillow-4.3.0.ebuild @@ -43,10 +43,11 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -src_compile() { +src_configure(){ # raqm not in portage yet - distutils-r1_src_compile \ + mydistutilsargs=( build_ext \ --disable-raqm \ + --disable-platform-guessing \ $(use_enable truetype freetype) \ $(use_enable jpeg2k jpeg2000) \ $(use_enable lcms) \ @@ -54,7 +55,7 @@ src_compile() { $(use_enable imagequant) \ $(use_enable webp) \ $(use_enable webp webpmux) \ - $(use_enable zlib) + $(use_enable zlib)) } python_compile_all() { -- cgit v1.2.3-65-gdbad