summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-06-06 22:43:27 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-06-06 22:43:27 +0000
commitdad16d6589ed90393d810cecbcb643d991a36f61 (patch)
treebf0e39b1c2b167dea207be58dafb481415d4fd71 /eclass/qt4-build.eclass
parentwhitespace (diff)
downloadhistorical-dad16d6589ed90393d810cecbcb643d991a36f61.tar.gz
historical-dad16d6589ed90393d810cecbcb643d991a36f61.tar.bz2
historical-dad16d6589ed90393d810cecbcb643d991a36f61.zip
Added -platform parameter on configure. Fixes bug 270475
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r--eclass/qt4-build.eclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index c14625664af8..c16a90006c4d 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.37 2009/05/29 20:58:54 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.38 2009/06/06 22:43:27 hwoarang Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -291,12 +291,7 @@ standard_configure_options() {
*) die "$(tc-arch) is unsupported by this eclass. Please file a bug." ;;
esac
- # Bug 261412 Qt configure detects archs by uname
- case "$(tc-arch)" in
- ppc) myconf="${myconf} -platform linux-g++-32";;
- esac
-
- myconf="${myconf} -stl -verbose -largefile -confirm-license -no-rpath
+ myconf="${myconf} -platform $(qt_mkspecs_dir) -stl -verbose -largefile -confirm-license -no-rpath
-prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR}
-datadir ${QTDATADIR} -docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR}
-plugindir ${QTPLUGINDIR} -sysconfdir ${QTSYSCONFDIR}