gui-wm/sway: fix doc builds for sway-9999
authorMatthew Thode <prometheanfire@gentoo.org>
Thu, 28 Feb 2019 15:51:08 +0000 (09:51 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Thu, 28 Feb 2019 15:51:31 +0000 (09:51 -0600)
Fixes: https://bugs.gentoo.org/679020
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
gui-wm/sway/sway-9999.ebuild

index 7d50826b43b7580d70756034e9c1f2a7b98c0180..3680e46353ad4d969f7f7e960a33c9533c19392e 100644 (file)
@@ -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