summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-01 09:25:48 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-01 09:25:57 +0100
commitdbb5ea35372df0dbcda92f0bc8bcb3e50c89d113 (patch)
treead8abd4c81453c57aebb706478bb752b0c595b5f
parenteclass/latex-package.eclass: Use in_iuse and build doc conditionnally if doc ... (diff)
downloadgentoo-dbb5ea35.tar.gz
gentoo-dbb5ea35.tar.bz2
gentoo-dbb5ea35.zip
dev-tex/xcolor: build doc conditionnally to avoid cycles in the dependency chain. Bug #573530
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
-rw-r--r--dev-tex/xcolor/xcolor-2.11.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-tex/xcolor/xcolor-2.11.ebuild b/dev-tex/xcolor/xcolor-2.11.ebuild
index a4e4cd47a516..14eff3f7f0a7 100644
--- a/dev-tex/xcolor/xcolor-2.11.ebuild
+++ b/dev-tex/xcolor/xcolor-2.11.ebuild
@@ -11,15 +11,15 @@ SRC_URI="http://www.ukern.de/tex/xcolor/ctan/${P//[.-]/}.zip"
LICENSE="LPPL-1.2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
+IUSE="doc"
-RDEPEND="
- dev-texlive/texlive-latex
- dev-texlive/texlive-pstricks
- dev-texlive/texlive-latexextra
-"
+RDEPEND="dev-texlive/texlive-latex"
DEPEND="${RDEPEND}
+ doc? (
+ dev-texlive/texlive-pstricks
+ dev-texlive/texlive-latexextra
+ )
app-arch/unzip"
S="${WORKDIR}/${PN}"