| 1 | # Copyright 2007-2009 Gentoo Foundation |
1 | # Copyright 2007-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.30 2009/03/28 00:33:33 gengor Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.31 2009/03/28 02:29:24 gengor 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>, |
| … | |
… | |
| 74 | LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" |
74 | LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" |
| 75 | |
75 | |
| 76 | if ! version_is_at_least 4.1 $(gcc-version) ; then |
76 | if ! version_is_at_least 4.1 $(gcc-version) ; then |
| 77 | ewarn "Using a GCC version lower than 4.1 is not supported!" |
77 | ewarn "Using a GCC version lower than 4.1 is not supported!" |
| 78 | echo |
78 | echo |
| 79 | ebeep 5 |
79 | ebeep 3 |
| 80 | fi |
80 | fi |
| 81 | |
81 | |
| 82 | if use custom-cxxflags; then |
82 | if use custom-cxxflags; then |
| 83 | echo |
83 | echo |
| 84 | ewarn "You have set USE=custom-cxxflags, which means Qt will be built with the" |
84 | ewarn "You have set USE=custom-cxxflags, which means Qt will be built with the" |