1 |
commit: fe762c420faf977896ef80d1aa026a90b47541c0 |
2 |
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 28 00:01:04 2013 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 28 00:01:04 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=fe762c42 |
7 |
|
8 |
[qt4-build.eclass] Fix bug 478018. |
9 |
|
10 |
--- |
11 |
eclass/qt4-build.eclass | 7 +++---- |
12 |
1 file changed, 3 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass |
15 |
index 0ca15d7..ba0ed38 100644 |
16 |
--- a/eclass/qt4-build.eclass |
17 |
+++ b/eclass/qt4-build.eclass |
18 |
@@ -1,6 +1,6 @@ |
19 |
# Copyright 1999-2013 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.147 2013/07/06 07:57:14 pesa Exp $ |
22 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.148 2013/07/27 23:47:20 pesa Exp $ |
23 |
|
24 |
# @ECLASS: qt4-build.eclass |
25 |
# @MAINTAINER: |
26 |
@@ -804,10 +804,9 @@ qt_mkspecs_dir() { |
27 |
# @FUNCTION: qt_nolibx11 |
28 |
# @INTERNAL |
29 |
# @DESCRIPTION: |
30 |
-# Ignore X11 tests for packages that don't need X libraries installed. |
31 |
+# Skip X11 tests for packages that don't need X libraries installed. |
32 |
qt_nolibx11() { |
33 |
- sed -i "/unixtests\/compile.test.*config.tests\/x11\/xlib/,/fi$/d" "${S}"/configure || |
34 |
- die "x11 check sed failed" |
35 |
+ sed -i -e '/^if.*PLATFORM_X11.*CFG_GUI/,/^fi$/d' "${S}"/configure || die |
36 |
} |
37 |
|
38 |
EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_install src_test pkg_postrm pkg_postinst |