summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-04-23 11:45:38 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-04-23 11:45:38 +0000
commit2ad1e70e0f54d5d6ba1f3896323d3e247d60e84c (patch)
tree29b0f5afe32a2c4ef47f6055893082af86795e5a /eclass
parentUnmask libssh2 (diff)
downloadgentoo-2-2ad1e70e0f54d5d6ba1f3896323d3e247d60e84c.tar.gz
gentoo-2-2ad1e70e0f54d5d6ba1f3896323d3e247d60e84c.tar.bz2
gentoo-2-2ad1e70e0f54d5d6ba1f3896323d3e247d60e84c.zip
Make eclass 4.5.{1,2} ready
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt4-build.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index e7d67f1916dd..cb1e6cd6d666 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 2007-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.31 2009/03/28 02:29:24 gengor Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.32 2009/04/23 11:45:38 hwoarang Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -52,7 +52,6 @@ qt4-build_pkg_setup() {
# Check USE requirements
qt4-build_check_use
fi
-
# Set up installation directories
QTBASEDIR=/usr/$(get_libdir)/qt4
QTPREFIXDIR=/usr
@@ -229,6 +228,13 @@ standard_configure_options() {
-demosdir ${QTDEMOSDIR} -silent -fast
$([[ ${PN} == qt-xmlpatterns ]] || echo -no-exceptions)
-reduce-relocations -nomake examples -nomake demos"
+
+ # Make eclass 4.5.{1,2} ready
+ case "${MY_PV}" in
+ 4.5.1 | 4.5.2)
+ myconf="${myconf} -opensource"
+ ;;
+ esac
echo "${myconf}"
}