summaryrefslogtreecommitdiff
path: root/eclass
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
commitb26389c2a1a7aea4763d5a4ed68220379d841502 (patch)
treef6ad30d5759b105483174174110c937ade4fa6a8 /eclass
parentwhitespace (diff)
downloadgentoo-2-b26389c2a1a7aea4763d5a4ed68220379d841502.tar.gz
gentoo-2-b26389c2a1a7aea4763d5a4ed68220379d841502.tar.bz2
gentoo-2-b26389c2a1a7aea4763d5a4ed68220379d841502.zip
Added -platform parameter on configure. Fixes bug 270475
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}