summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-05-26 15:17:17 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-05-26 15:17:17 +0000
commit14d8afa0efa64d958ecbf3817fbbde37a7522f54 (patch)
tree982d234dd2319493ff50d04ea143b902fe6392cb /eclass/qt4-build.eclass
parentSteal copy from doomsday to let people know they might have more to do before... (diff)
downloadgentoo-2-14d8afa0efa64d958ecbf3817fbbde37a7522f54.tar.gz
gentoo-2-14d8afa0efa64d958ecbf3817fbbde37a7522f54.tar.bz2
gentoo-2-14d8afa0efa64d958ecbf3817fbbde37a7522f54.zip
Apply fvisibility fix for versions > 4.7.0_beta as well
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r--eclass/qt4-build.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index fd098fa963b0..b242fb3995cc 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.71 2010/05/25 13:39:46 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.72 2010/05/26 15:17:17 hwoarang Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -164,7 +164,7 @@ qt4-build_src_prepare() {
cd "${S}"
# fix qt 4.7 regression that skips -fvisibility=hidden
- if [[ "${PV}" == "4.7.0_beta1" ]]; then
+ if version_is_at_least "4.7.0_beta1"; then
sed -e "s/^gcc|g++)/*gcc|*g++)/" \
-i config.tests/unix/fvisibility.test ||
die "visibility fixing sed failed"