/[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.104 Revision 1.106
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.104 2011/12/16 20:02:48 abcd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.106 2011/12/21 22:47:35 pesa Exp $
4 4
5# @ECLASS: qt4-build.eclass 5# @ECLASS: qt4-build.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Qt herd <qt@gentoo.org> 7# Qt herd <qt@gentoo.org>
8# @BLURB: Eclass for Qt4 split ebuilds. 8# @BLURB: Eclass for Qt4 split ebuilds.
365 # freetype2 include dir is non-standard, thus include it on configure 365 # freetype2 include dir is non-standard, thus include it on configure
366 # use -I from configure 366 # use -I from configure
367 myconf+=" $(pkg-config --cflags freetype2)" 367 myconf+=" $(pkg-config --cflags freetype2)"
368 fi 368 fi
369 369
370 # Disable SSE4.x, since auto-detection is currently broken
371 # Upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-13623
372 [[ ${PV} == "4.7.1" ]] && myconf+=" -no-sse4.1 -no-sse4.2"
373
374 echo ./configure ${myconf} 370 echo ./configure ${myconf}
375 ./configure ${myconf} || die "./configure failed" 371 ./configure ${myconf} || die "./configure failed"
376 myconf="" 372 myconf=""
377 373
378 prepare_directories ${QT4_TARGET_DIRECTORIES} 374 prepare_directories ${QT4_TARGET_DIRECTORIES}
503 esac 499 esac
504 500
505 # exceptions USE flag 501 # exceptions USE flag
506 local exceptions="-exceptions" 502 local exceptions="-exceptions"
507 in_iuse exceptions && exceptions="$(qt_use exceptions)" 503 in_iuse exceptions && exceptions="$(qt_use exceptions)"
504
505 # bug 380415
506 version_is_at_least 4.8 && myconf+=" -no-rpath"
508 507
509 # note about -reduce-relocations: 508 # note about -reduce-relocations:
510 # That flag seems to introduce major breakage to applications, 509 # That flag seems to introduce major breakage to applications,
511 # mostly to be seen as a core dump with the message "QPixmap: Must 510 # mostly to be seen as a core dump with the message "QPixmap: Must
512 # construct a QApplication before a QPaintDevice" on Solaris 511 # construct a QApplication before a QPaintDevice" on Solaris

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.106

  ViewVC Help
Powered by ViewVC 1.1.20