diff options
author | Benda Xu <heroxbd@gentoo.org> | 2018-04-13 12:40:18 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2018-04-13 12:47:30 +0900 |
commit | eec063365f7f66cbcf5416846fc6bab63a16a7a0 (patch) | |
tree | 88eac604c395905cd47aedf4bb90f9ee88fc0289 | |
parent | sys-apps/lsb-release: support Prefix. (diff) | |
download | gentoo-eec063365f7f66cbcf5416846fc6bab63a16a7a0.tar.gz gentoo-eec063365f7f66cbcf5416846fc6bab63a16a7a0.tar.bz2 gentoo-eec063365f7f66cbcf5416846fc6bab63a16a7a0.zip |
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
-rw-r--r-- | dev-python/pillow/pillow-4.3.0.ebuild | 7 |
1 files 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 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() { |