summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2012-01-01 19:01:11 +0000
committerDavide Pesavento <pesa@gentoo.org>2012-01-01 19:01:11 +0000
commitfe89987f5775f3e1a6a5629688721819daa65fe5 (patch)
tree906417c36c2d5afb200c67df1c97f1026b392a68 /eclass/qt4-build.eclass
parentDrop ia64 support #345433 (diff)
downloadgentoo-2-fe89987f5775f3e1a6a5629688721819daa65fe5.tar.gz
gentoo-2-fe89987f5775f3e1a6a5629688721819daa65fe5.tar.bz2
gentoo-2-fe89987f5775f3e1a6a5629688721819daa65fe5.zip
Pass -importdir to configure only for qt >= 4.7 (bug #396685).
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r--eclass/qt4-build.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index 92a77809e9f2..c3dd7f4b8632 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.114 2012/01/01 18:12:03 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.115 2012/01/01 19:01:11 pesa Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -462,8 +462,9 @@ setqtenv() {
standard_configure_options() {
local myconf="-prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR}
-docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR} -plugindir ${QTPLUGINDIR}
- -importdir ${QTIMPORTDIR} -datadir ${QTDATADIR} -translationdir ${QTTRANSDIR}
- -sysconfdir ${QTSYSCONFDIR} -examplesdir ${QTEXAMPLESDIR} -demosdir ${QTDEMOSDIR}
+ $(version_is_at_least 4.7 && echo -importdir ${QTIMPORTDIR})
+ -datadir ${QTDATADIR} -translationdir ${QTTRANSDIR} -sysconfdir ${QTSYSCONFDIR}
+ -examplesdir ${QTEXAMPLESDIR} -demosdir ${QTDEMOSDIR}
-opensource -confirm-license -shared -fast -largefile -stl -verbose
-platform $(qt_mkspecs_dir) -nomake examples -nomake demos"