diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-07-03 22:33:00 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-07-03 22:33:00 +0000 |
commit | 9e2aa2504d7ef312a4894176e2c584ed2f2b0d6e (patch) | |
tree | e5a4e7b2f484dac54b04df837072ad06d76588c2 /eclass/texlive-module.eclass | |
parent | Unmask final www-client/opera-9.51 (bug #230633). (diff) | |
download | historical-9e2aa2504d7ef312a4894176e2c584ed2f2b0d6e.tar.gz historical-9e2aa2504d7ef312a4894176e2c584ed2f2b0d6e.tar.bz2 historical-9e2aa2504d7ef312a4894176e2c584ed2f2b0d6e.zip |
remove doc useflag from documentation packages, it does not make much sense for them, thanks to Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>, bug #223617.
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 75b8e1ff20e0..bc57b0220ab7 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.9 2008/07/03 21:06:25 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.10 2008/07/03 22:33:00 aballier Exp $ # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -51,7 +51,7 @@ fi RDEPEND="${COMMON_DEPEND}" -IUSE="doc" +[ -z "${PN##*documentation*}" ] || IUSE="doc" S="${WORKDIR}" @@ -128,7 +128,7 @@ texlive-module_src_install() { done insinto /usr/share - if use doc; then + if [ -z "${PN##*documentation*}" ] || use doc; then [ -d texmf-doc ] && doins -r texmf-doc else [ -d texmf/doc ] && rm -rf texmf/doc |