summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-04-13 12:40:18 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-04-13 12:47:30 +0900
commiteec063365f7f66cbcf5416846fc6bab63a16a7a0 (patch)
tree88eac604c395905cd47aedf4bb90f9ee88fc0289 /dev-python/pillow
parentsys-apps/lsb-release: support Prefix. (diff)
downloadgentoo-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
Diffstat (limited to 'dev-python/pillow')
-rw-r--r--dev-python/pillow/pillow-4.3.0.ebuild7
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() {