Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59568 Details for
Bug 93586
x11-libs/qt: support for non-linux or non-g++ platforms
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ebuild patch
qt-3.3.4-r3.patch (text/plain), 2.28 KB, created by
Diego Elio Pettenò (RETIRED)
on 2005-05-22 11:09:08 UTC
(
hide
)
Description:
Ebuild patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2005-05-22 11:09:08 UTC
Size:
2.28 KB
patch
obsolete
>--- /var/portage/cvs/gentoo-x86/x11-libs/qt/qt-3.3.4-r3.ebuild 2005-05-14 09:33:44 +0000 >+++ qt-3.3.4-r3.ebuild 2005-05-22 11:41:17 +0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.4-r3.ebuild,v 1.10 2005/05/13 21:13:24 kloeri Exp $ > >-inherit eutils flag-o-matic >+inherit eutils flag-o-matic toolchain-funcs > > SRCTYPE="free" > DESCRIPTION="QT version ${PV}" >@@ -49,15 +49,30 @@ > > export QTDIR=${S} > >- if useq ppc-macos ; then >- export PLATFORM=darwin-g++ >- export DYLD_LIBRARY_PATH="${QTDIR}/lib:/usr/X11R6/lib:${DYLD_LIBRARY_PATH}" >- export INSTALL_ROOT="" >- else >- # probably this should be 'linux-g++-64' for 64bit archs >- # in a fully multilib environment (no compatibility symlinks) >- export PLATFORM=linux-g++ >- fi >+ PLATCXX="notsupported" >+ CXX=$(tc-getCXX) >+ if [[ ${CXX/g++/} != ${CXX} ]]; then >+ PLATCXX="g++" >+ elif [[ ${CXX/icc/} != ${CXX} ]]; then >+ PLATCXX="icc" >+ fi >+ >+ PLATNAME="notsupported" >+ if use kernel_linux; then >+ PLATNAME="linux" >+ elif use kernel_FreeBSD && use elibc_FreeBSD; then >+ PLATNAME="freebsd" >+ elif use ppc-macos; then >+ PLATNAME=macx >+# export DYLD_LIBRARY_PATH="${QTDIR}/lib:/usr/X11R6/lib:${DYLD_LIBRARY_PATH}" >+# export INSTALL_ROOT="" >+ elif use kernel_Darwin && use elibc_Darwin; then >+ PLATNAME="darwin" >+ fi >+ >+ # probably this should be '*-64' for 64bit archs >+ # in a fully multilib environment (no compatibility symlinks) >+ export PLATFORM="${PLATNAME}-${PLATCXX}" > } > > src_unpack() { >@@ -65,8 +80,7 @@ > > cd ${S} > >- cp configure configure.orig >- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure >+ sed -i -e 's:read acceptance:acceptance=yes:' configure > > epatch ${FILESDIR}/qt-no-rpath-uic.patch > epatch ${FILESDIR}/qt-no-rpath.patch >@@ -275,9 +289,10 @@ > sed -e "s:${S}:${QTBASE}:g" \ > ${S}/.qmake.cache > ${D}${QTBASE}/.qmake.cache > >+ sed -i -e "s:linux-g++:${PLATFORM}:" ${D}/etc/env.d/45qt3 >+ > if use ppc-macos ; then >- dosed "s:linux-g++:${PLATFORM}:" /etc/env.d/45qt3 \ >- "s:\$(QTBASE):\$(QTDIR):g" ${QTBASE}/mkspecs/${PLATFORM}/qmake.conf \ >+ dosed "s:\$(QTBASE):\$(QTDIR):g" ${QTBASE}/mkspecs/${PLATFORM}/qmake.conf \ > "s:${S}:${QTBASE}:g" ${QTBASE}/mkspecs/${PLATFORM}/qmake.conf ${QTBASE}/lib/libqt-mt.la || die > fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 93586
: 59568