/[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.57 Revision 1.58
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.57 2009/12/24 21:40:23 abcd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.58 2009/12/25 08:19:38 grobian 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>,
401# Sets up some standard configure options, like libdir (if necessary), whether 401# Sets up some standard configure options, like libdir (if necessary), whether
402# debug info is wanted or not. 402# debug info is wanted or not.
403standard_configure_options() { 403standard_configure_options() {
404 local myconf= 404 local myconf=
405 405
406 # Doesn't need ${EPREFIX} because get_libdir() is *always* lib on prefix
407 [[ $(get_libdir) != lib ]] && myconf+=" -L/usr/$(get_libdir)" 406 [[ $(get_libdir) != lib ]] && myconf+=" -L${EPREFIX}/usr/$(get_libdir)"
408 407
409 # Disable visibility explicitly if gcc version isn't 4 408 # Disable visibility explicitly if gcc version isn't 4
410 if [[ $(gcc-major-version) -lt 4 ]]; then 409 if [[ $(gcc-major-version) -lt 4 ]]; then
411 myconf+=" -no-reduce-exports" 410 myconf+=" -no-reduce-exports"
412 fi 411 fi

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20