Sort deps while at it.
Gentoo-bug: 610358
Package-Manager: portage-2.3.3
REQUIRED_USE="|| ( qt4 qt5 )"
DEPEND="
- !<x11-libs/qwt-5.2.3
+ opengl? ( virtual/opengl )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
opengl? ( dev-qt/qtopengl:5 )
svg? ( dev-qt/qtsvg:5 )
)
+"
+RDEPEND="${DEPEND}
+ !<x11-libs/qwt-5.2.3
+ !x11-libs/qwt:5[doc]
doc? ( !<media-libs/coin-3.1.3[doc] )
- opengl? ( virtual/opengl )
- "
-RDEPEND="${DEPEND}"
+"
S="${WORKDIR}"/${MY_P}
PATCHES=(
"${FILESDIR}"/${PN}-6.0.2-invalid-read.patch
"${FILESDIR}"/${PN}-6.1.1-pc-destdir.patch
- )
+)
src_prepare() {
cat > qwtconfig.pri <<-EOF