1 |
commit: f4aa5216a0b71858e2cefc6aed4bbf72cf8aa303 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 28 03:33:36 2015 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 03:33:36 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=f4aa5216 |
7 |
|
8 |
qt5-build.eclass: define QT5_BUILD_DIR after QT5_BUILD_TYPE |
9 |
|
10 |
Since the latter is required by the former. Fixes regression |
11 |
in commit 4b70a2ea5396afc14f018bb3429be4a89d8f1ecf. |
12 |
|
13 |
eclass/qt5-build.eclass | 16 ++++++++-------- |
14 |
1 file changed, 8 insertions(+), 8 deletions(-) |
15 |
|
16 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
17 |
index 7ad8cf4..8ee1cd7 100644 |
18 |
--- a/eclass/qt5-build.eclass |
19 |
+++ b/eclass/qt5-build.eclass |
20 |
@@ -23,14 +23,6 @@ esac |
21 |
# SRC_URI and EGIT_REPO_URI. Must be defined before inheriting the eclass. |
22 |
: ${QT5_MODULE:=${PN}} |
23 |
|
24 |
-# @ECLASS-VARIABLE: QT5_BUILD_DIR |
25 |
-# @DESCRIPTION: |
26 |
-# Build directory for out-of-source builds. |
27 |
-case ${QT5_BUILD_TYPE} in |
28 |
- live) : ${QT5_BUILD_DIR:=${S}_build} ;; |
29 |
- release) : ${QT5_BUILD_DIR:=${S}} ;; # workaround for bug 497312 |
30 |
-esac |
31 |
- |
32 |
# @ECLASS-VARIABLE: QT5_TARGET_SUBDIRS |
33 |
# @DEFAULT_UNSET |
34 |
# @DESCRIPTION: |
35 |
@@ -103,6 +95,14 @@ EGIT_REPO_URI=( |
36 |
) |
37 |
[[ ${QT5_BUILD_TYPE} == live ]] && inherit git-r3 |
38 |
|
39 |
+# @ECLASS-VARIABLE: QT5_BUILD_DIR |
40 |
+# @DESCRIPTION: |
41 |
+# Build directory for out-of-source builds. |
42 |
+case ${QT5_BUILD_TYPE} in |
43 |
+ live) : ${QT5_BUILD_DIR:=${S}_build} ;; |
44 |
+ release) : ${QT5_BUILD_DIR:=${S}} ;; # workaround for bug 497312 |
45 |
+esac |
46 |
+ |
47 |
IUSE="debug test" |
48 |
|
49 |
[[ ${PN} == qtwebkit ]] && RESTRICT+=" mirror" # bug 524584 |