sci-libs/mathgl: fix #564204

Package-Manager: portage-2.2.26
This commit is contained in:
David Seifert
2016-01-12 22:51:46 +01:00
parent 49a9be2624
commit 8e175dc223

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -81,6 +81,8 @@ src_prepare() {
# prevent sandbox violation
sed -i -e 's/update-mime-database/true/' udav/CMakeLists.txt || die
sed -i -e 's/update-desktop-database/true/' udav/CMakeLists.txt || die
# fix missing include, bug 564204
sed -i -e '/#include <QStringList>/i #include <QObject>' json/Backend.hpp || die
use python && append-cppflags -I"$(${EPYTHON} -c 'import numpy; print(numpy.get_include())')"
use wxwidgets && need-wxwidgets unicode