1 |
pesa 11/12/28 10:57:38 |
2 |
|
3 |
Modified: qt4-r2.eclass |
4 |
Log: |
5 |
Fix regression with DOCS and non-default ${S}, bug #396227. |
6 |
|
7 |
Revision Changes Path |
8 |
1.16 eclass/qt4-r2.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.16&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.16&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.15&r2=1.16 |
13 |
|
14 |
Index: qt4-r2.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v |
17 |
retrieving revision 1.15 |
18 |
retrieving revision 1.16 |
19 |
diff -u -r1.15 -r1.16 |
20 |
--- qt4-r2.eclass 26 Dec 2011 11:47:47 -0000 1.15 |
21 |
+++ qt4-r2.eclass 28 Dec 2011 10:57:38 -0000 1.16 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2011 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.15 2011/12/26 11:47:47 pesa Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.16 2011/12/28 10:57:38 pesa Exp $ |
27 |
|
28 |
# @ECLASS: qt4-r2.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -128,7 +128,6 @@ |
31 |
# @ECLASS-VARIABLE: DOCSDIR |
32 |
# @DESCRIPTION: |
33 |
# Directory containing documentation, defaults to ${S}. |
34 |
-DOCSDIR="${DOCSDIR:-${S}}" |
35 |
|
36 |
# @FUNCTION: qt4-r2_src_install |
37 |
# @DESCRIPTION: |
38 |
@@ -140,9 +139,9 @@ |
39 |
emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "emake install failed" |
40 |
|
41 |
# install documentation |
42 |
- local doc |
43 |
+ local doc dir="${DOCSDIR:-${S}}" |
44 |
for doc in ${DOCS}; do |
45 |
- dodoc "${DOCSDIR}/${doc}" || die "dodoc failed" |
46 |
+ dodoc "${dir}/${doc}" || die "dodoc failed" |
47 |
done |
48 |
} |