Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: qt4-build.eclass
Date: Fri, 29 May 2009 20:58:56
Message-Id: E1MA9AE-0001Bs-Hy@stork.gentoo.org
1 hwoarang 09/05/29 20:58:54
2
3 Modified: qt4-build.eclass
4 Log:
5 Use autopatcher from base eclass
6
7 Revision Changes Path
8 1.37 eclass/qt4-build.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-build.eclass?rev=1.37&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-build.eclass?rev=1.37&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-build.eclass?r1=1.36&r2=1.37
13
14 Index: qt4-build.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v
17 retrieving revision 1.36
18 retrieving revision 1.37
19 diff -u -r1.36 -r1.37
20 --- qt4-build.eclass 29 May 2009 14:48:00 -0000 1.36
21 +++ qt4-build.eclass 29 May 2009 20:58:54 -0000 1.37
22 @@ -1,6 +1,6 @@
23 # Copyright 2007-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.36 2009/05/29 14:48:00 hwoarang Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.37 2009/05/29 20:58:54 hwoarang Exp $
27
28 # @ECLASS: qt4-build.eclass
29 # @MAINTAINER:
30 @@ -11,7 +11,7 @@
31 # @DESCRIPTION:
32 # This eclass contains various functions that are used when building Qt4
33
34 -inherit eutils multilib toolchain-funcs flag-o-matic versionator
35 +inherit base eutils multilib toolchain-funcs flag-o-matic versionator
36
37 IUSE="${IUSE} custom-cxxflags debug pch"
38 RDEPEND="
39 @@ -164,6 +164,14 @@
40 fi
41 }
42
43 +# @ECLASS-VARIABLE: PATCHES
44 +# @DESCRIPTION:
45 +# In case you have patches to apply, specify them in PATCHES variable. Make sure
46 +# to specify the full path. This variable is necessary for src_prepare phase.
47 +# example:
48 +# PATCHES="${FILESDIR}"/mypatch.patch
49 +# ${FILESDIR}"/mypatch2.patch"
50 +#
51
52 # @FUNCTION: qt4-build_src_prepare
53 # @DESCRIPTION:
54 @@ -210,7 +218,8 @@
55 -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
56 -e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
57 -i "${S}"/mkspecs/common/g++.conf || die "sed ${S}/mkspecs/common/g++.conf failed"
58 -
59 +
60 + base_src_prepare
61 }
62
63 # @FUNCTION: qt4-build_src_configure