dev-python/matplotlib: Unset DISPLAY during build to fix sandbox problems

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564296

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-11-02 10:57:20 +01:00
parent 8d90086aad
commit c7f78999ea
4 changed files with 4 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ python_configure() {
wrap_setup() {
local MPLSETUPCFG=${BUILD_DIR}/setup.cfg
export MPLSETUPCFG
unset DISPLAY
# Note: remove build... if switching to out-of-source build
"${@}" build --build-lib="${BUILD_DIR}"/build/lib