From: Tim Harder Date: Mon, 8 Jan 2018 16:13:00 +0000 (-0500) Subject: net-news/newsboat: make asciidoc a non-conditional build dep X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0c87148558ecd868187f4accbc412f009cf51a6;p=gentoo.git net-news/newsboat: make asciidoc a non-conditional build dep Fixes: https://bugs.gentoo.org/643592 --- diff --git a/net-news/newsboat/newsboat-2.10.2.ebuild b/net-news/newsboat/newsboat-2.10.2.ebuild index f0be1cf088bd..ff9f70fe3e5e 100644 --- a/net-news/newsboat/newsboat-2.10.2.ebuild +++ b/net-news/newsboat/newsboat-2.10.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -29,6 +29,7 @@ RDEPEND=" sys-libs/ncurses:0=[unicode] " DEPEND="${RDEPEND} + app-text/asciidoc dev-lang/perl virtual/pkgconfig sys-devel/gettext @@ -37,7 +38,6 @@ DEPEND="${RDEPEND} sys-devel/bc ) " -[[ ${PV} == 9999 ]] && DEPEND+=" app-text/asciidoc" # tests require network access RESTRICT="test" @@ -54,7 +54,6 @@ src_configure() { src_compile() { emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" - [[ ${PV} == 9999 ]] && emake doc } src_test() { diff --git a/net-news/newsboat/newsboat-9999.ebuild b/net-news/newsboat/newsboat-9999.ebuild index f0be1cf088bd..ff9f70fe3e5e 100644 --- a/net-news/newsboat/newsboat-9999.ebuild +++ b/net-news/newsboat/newsboat-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -29,6 +29,7 @@ RDEPEND=" sys-libs/ncurses:0=[unicode] " DEPEND="${RDEPEND} + app-text/asciidoc dev-lang/perl virtual/pkgconfig sys-devel/gettext @@ -37,7 +38,6 @@ DEPEND="${RDEPEND} sys-devel/bc ) " -[[ ${PV} == 9999 ]] && DEPEND+=" app-text/asciidoc" # tests require network access RESTRICT="test" @@ -54,7 +54,6 @@ src_configure() { src_compile() { emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" - [[ ${PV} == 9999 ]] && emake doc } src_test() {