summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to '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}