| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.74 2010/05/30 10:31:05 spatz Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.75 2010/07/03 09:10:55 hwoarang Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: qt4-build.eclass |
5 | # @ECLASS: qt4-build.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Ben de Groot <yngwin@gentoo.org>, |
7 | # Ben de Groot <yngwin@gentoo.org>, |
| 8 | # Markos Chandras <hwoarang@gentoo.org>, |
8 | # Markos Chandras <hwoarang@gentoo.org>, |
| … | |
… | |
| 274 | # use GCC over SunStudio |
274 | # use GCC over SunStudio |
| 275 | sed -i -e '/PLATFORM=solaris-cc/s/cc/g++/' configure || die |
275 | sed -i -e '/PLATFORM=solaris-cc/s/cc/g++/' configure || die |
| 276 | # don't flirt with non-Prefix stuff, we're quite possessive |
276 | # don't flirt with non-Prefix stuff, we're quite possessive |
| 277 | sed -i -e '/^QMAKE_\(LIB\|INC\)DIR\(_X11\|_OPENGL\|\)\t/s/=.*$/=/' \ |
277 | sed -i -e '/^QMAKE_\(LIB\|INC\)DIR\(_X11\|_OPENGL\|\)\t/s/=.*$/=/' \ |
| 278 | mkspecs/$(qt_mkspecs_dir)/qmake.conf || die |
278 | mkspecs/$(qt_mkspecs_dir)/qmake.conf || die |
|
|
279 | # strip predefined CFLAGS from qmake ( bug #312689 ) |
|
|
280 | sed -i '/^QMAKE_CFLAGS_\(RELEASE\|DEBUG\)/s:+=.*:+=:' mkspecs/common/g++.conf |
| 279 | |
281 | |
| 280 | base_src_prepare |
282 | base_src_prepare |
| 281 | } |
283 | } |
| 282 | |
284 | |
| 283 | # @FUNCTION: qt4-build_src_configure |
285 | # @FUNCTION: qt4-build_src_configure |