x11-libs/qwt: Block qwt:5[doc], move blockers where they belong
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 23 Feb 2017 21:55:32 +0000 (22:55 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 23 Feb 2017 21:56:47 +0000 (22:56 +0100)
Sort deps while at it.

Gentoo-bug: 610358

Package-Manager: portage-2.3.3

x11-libs/qwt/qwt-6.1.3-r1.ebuild

index a198f19b453fe33712bc60f1789447d7c16f20a7..bf11ee3733e2438ebf5402817d3515757dea41d3 100644 (file)
@@ -20,7 +20,7 @@ IUSE="designer doc examples mathml opengl qt4 qt5 static-libs svg"
 REQUIRED_USE="|| ( qt4 qt5 )"
 
 DEPEND="
-       !<x11-libs/qwt-5.2.3
+       opengl? ( virtual/opengl )
        qt4? (
                dev-qt/qtcore:4
                dev-qt/qtgui:4
@@ -38,10 +38,12 @@ DEPEND="
                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}
 
@@ -50,7 +52,7 @@ DOCS=( CHANGES-6.1 README )
 PATCHES=(
        "${FILESDIR}"/${PN}-6.0.2-invalid-read.patch
        "${FILESDIR}"/${PN}-6.1.1-pc-destdir.patch
-       )
+)
 
 src_prepare() {
        cat > qwtconfig.pri <<-EOF