/[gentoo-x86]/eclass/qt4-build.eclass
Gentoo

Diff of /eclass/qt4-build.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.49 Revision 1.51
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.49 2009/11/09 19:30:40 ayoy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.51 2009/11/10 00:56:29 spatz 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>,
176 skip_qmake_build_patch 176 skip_qmake_build_patch
177 skip_project_generation_patch 177 skip_project_generation_patch
178 symlink_binaries_to_buildtree 178 symlink_binaries_to_buildtree
179 fi 179 fi
180 180
181 # Bug 282984
182 sed -e "s/\(^SYSTEM_VARIABLES\)/CC=$(tc-getCC)\nCXX=$(tc-getCXX)\n\1/" \
183 -i configure || die "sed qmake compilers failed"
184 sed -e "s/\(\$MAKE\)/\1 CC=$(tc-getCC) CXX=$(tc-getCXX) LD=$(tc-getCXX)/" \
185 -i config.tests/unix/compile.test || die "sed test compilers failed"
186
181 # Bug 178652 187 # Bug 178652
182 if [[ "$(gcc-major-version)" == "3" ]] && use amd64; then 188 if [[ "$(gcc-major-version)" == "3" ]] && use amd64; then
183 ewarn "Appending -fno-gcse to CFLAGS/CXXFLAGS" 189 ewarn "Appending -fno-gcse to CFLAGS/CXXFLAGS"
184 append-flags -fno-gcse 190 append-flags -fno-gcse
185 fi 191 fi
320 *) 326 *)
321 [[ ${PN} == "qt-xmlpatterns" ]] || exceptions="-no-exceptions" 327 [[ ${PN} == "qt-xmlpatterns" ]] || exceptions="-no-exceptions"
322 ;; 328 ;;
323 esac 329 esac
324 330
325 myconf="${myconf} -platform $(qt_mkspecs_dir) -stl -verbose -largefile -confirm-license -no-rpath 331 myconf="${myconf} -platform $(qt_mkspecs_dir) -stl -verbose -largefile -confirm-license
326 -prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR} 332 -prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR}
327 -datadir ${QTDATADIR} -docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR} 333 -datadir ${QTDATADIR} -docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR}
328 -plugindir ${QTPLUGINDIR} -sysconfdir ${QTSYSCONFDIR} 334 -plugindir ${QTPLUGINDIR} -sysconfdir ${QTSYSCONFDIR}
329 -translationdir ${QTTRANSDIR} -examplesdir ${QTEXAMPLESDIR} 335 -translationdir ${QTTRANSDIR} -examplesdir ${QTEXAMPLESDIR}
330 -demosdir ${QTDEMOSDIR} -silent -fast 336 -demosdir ${QTDEMOSDIR} -silent -fast

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.51

  ViewVC Help
Powered by ViewVC 1.1.20