Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/sway/
Date: Thu, 28 Feb 2019 15:51:50
Message-Id: 1551369091.83eba5f17ed07ca56a2a3fd7c79df102ebe785c4.prometheanfire@gentoo
commit:     83eba5f17ed07ca56a2a3fd7c79df102ebe785c4
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 28 15:51:08 2019 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Feb 28 15:51:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83eba5f1

gui-wm/sway: fix doc builds for sway-9999

Fixes: https://bugs.gentoo.org/679020
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 gui-wm/sway/sway-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild
index 7d50826b43b..3680e46353a 100644
--- a/gui-wm/sway/sway-9999.ebuild
+++ b/gui-wm/sway/sway-9999.ebuild
@@ -55,6 +55,11 @@ BDEPEND="
 	virtual/pkgconfig
 	man? ( >=app-text/scdoc-1.8.1 )
 "
+if [[ ${PV} == 9999 ]]; then
+	BDEPEND+="~app-text/scdoc-9999"
+else
+	BDEPEND+="~app-text/scdoc=-1.9.0"
+fi
 
 src_prepare() {
 	default