1 |
aballier 08/07/03 22:33:01 |
2 |
|
3 |
Modified: texlive-module.eclass |
4 |
Log: |
5 |
remove doc useflag from documentation packages, it does not make much sense for them, thanks to Pacho Ramos <pacho@××××××××××××××××××××××××.es>, bug #223617. |
6 |
|
7 |
Revision Changes Path |
8 |
1.10 eclass/texlive-module.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.10&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.10&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?r1=1.9&r2=1.10 |
13 |
|
14 |
Index: texlive-module.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v |
17 |
retrieving revision 1.9 |
18 |
retrieving revision 1.10 |
19 |
diff -u -r1.9 -r1.10 |
20 |
--- texlive-module.eclass 3 Jul 2008 21:06:25 -0000 1.9 |
21 |
+++ texlive-module.eclass 3 Jul 2008 22:33:00 -0000 1.10 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2008 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.9 2008/07/03 21:06:25 aballier Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.10 2008/07/03 22:33:00 aballier Exp $ |
27 |
|
28 |
# @ECLASS: texlive-module.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -51,7 +51,7 @@ |
31 |
|
32 |
RDEPEND="${COMMON_DEPEND}" |
33 |
|
34 |
-IUSE="doc" |
35 |
+[ -z "${PN##*documentation*}" ] || IUSE="doc" |
36 |
|
37 |
S="${WORKDIR}" |
38 |
|
39 |
@@ -128,7 +128,7 @@ |
40 |
done |
41 |
|
42 |
insinto /usr/share |
43 |
- if use doc; then |
44 |
+ if [ -z "${PN##*documentation*}" ] || use doc; then |
45 |
[ -d texmf-doc ] && doins -r texmf-doc |
46 |
else |
47 |
[ -d texmf/doc ] && rm -rf texmf/doc |
48 |
|
49 |
|
50 |
|
51 |
-- |
52 |
gentoo-commits@l.g.o mailing list |