summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Brauel <bjb@gentoo.org>2002-12-07 14:33:12 +0000
committerBjoern Brauel <bjb@gentoo.org>2002-12-07 14:33:12 +0000
commit33dd9a4033cf6a0017b58bd87be5a562ad58bd86 (patch)
tree6b6c069582724379d161a11a0d16dccb519234b8 /x11-libs/qt
parentKEYWORDS for alpha (diff)
downloadgentoo-2-33dd9a4033cf6a0017b58bd87be5a562ad58bd86.tar.gz
gentoo-2-33dd9a4033cf6a0017b58bd87be5a562ad58bd86.tar.bz2
gentoo-2-33dd9a4033cf6a0017b58bd87be5a562ad58bd86.zip
Fix compilation on alpha and marked as stable (on alpha)
Diffstat (limited to 'x11-libs/qt')
-rw-r--r--x11-libs/qt/ChangeLog6
-rw-r--r--x11-libs/qt/qt-3.1.0-r1.ebuild9
2 files changed, 12 insertions, 3 deletions
diff --git a/x11-libs/qt/ChangeLog b/x11-libs/qt/ChangeLog
index ec94d66bec9c..8b8a687924f9 100644
--- a/x11-libs/qt/ChangeLog
+++ b/x11-libs/qt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.37 2002/12/04 22:54:59 doctomoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.38 2002/12/07 14:33:12 bjb Exp $
+
+ 07 Dec 2002; Bjoern Brauel <bjb@gentoo.org> qt-3.1.0-r1.ebuild:
+
+ Fix compilation on alpha and marked as stable (on alpha)
04 Dec 2002; Olivier Reisch <doctomoe@gentoo.org> qt-3.1.0-r1.ebuild:
Added ppc stable keyword.
diff --git a/x11-libs/qt/qt-3.1.0-r1.ebuild b/x11-libs/qt/qt-3.1.0-r1.ebuild
index f294d1fffb19..56a33a4f2fa7 100644
--- a/x11-libs/qt/qt-3.1.0-r1.ebuild
+++ b/x11-libs/qt/qt-3.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.0-r1.ebuild,v 1.6 2002/12/04 22:54:59 doctomoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.0-r1.ebuild,v 1.7 2002/12/07 14:33:12 bjb Exp $
IUSE="cups nas postgres opengl mysql odbc gif"
@@ -9,7 +9,7 @@ S=${WORKDIR}/qt-x11-free-${PV}
DESCRIPTION="QT version ${PV}"
SLOT="3"
LICENSE="QPL-1.0"
-KEYWORDS="x86 ppc ~sparc ~sparc64"
+KEYWORDS="x86 ppc alpha ~sparc ~sparc64"
SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2"
@@ -57,6 +57,11 @@ src_unpack() {
cp qmake.conf qmake.conf.orig
sed -e "s:= gcc:= ${CC}:" qmake.conf.orig > qmake.conf
fi
+ # on alpha we need to compile everything with -fPIC
+ if [ ${ARCH} == "alpha" ]; then
+ cp qmake.conf qmake.conf.orig
+ sed -e "s:= -O2:= -O2 -fPIC:" qmake.conf.orig > qmake.conf
+ fi
}