commit:     eec063365f7f66cbcf5416846fc6bab63a16a7a0
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 13 03:40:18 2018 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Apr 13 03:47:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec06336

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(-)

diff --git a/dev-python/pillow/pillow-4.3.0.ebuild 
b/dev-python/pillow/pillow-4.3.0.ebuild
index d1c476ffeb2..0106f57a945 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() {

Reply via email to