summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-04-01 16:41:42 +0000
committerAron Griffis <agriffis@gentoo.org>2003-04-01 16:41:42 +0000
commita5be6213a4dd33394f936e21438a7e2ce78ee4f3 (patch)
tree143897513434005b4058953e3a48af89421f5765 /media-libs/libquicktime
parentnew version (diff)
downloadgentoo-2-a5be6213a4dd33394f936e21438a7e2ce78ee4f3.tar.gz
gentoo-2-a5be6213a4dd33394f936e21438a7e2ce78ee4f3.tar.bz2
gentoo-2-a5be6213a4dd33394f936e21438a7e2ce78ee4f3.zip
fix bug 10966 for alpha
Diffstat (limited to 'media-libs/libquicktime')
-rw-r--r--media-libs/libquicktime/ChangeLog7
-rw-r--r--media-libs/libquicktime/libquicktime-0.9.2_pre1.ebuild16
2 files changed, 18 insertions, 5 deletions
diff --git a/media-libs/libquicktime/ChangeLog b/media-libs/libquicktime/ChangeLog
index cc9d30c2ab56..92210faa0aaa 100644
--- a/media-libs/libquicktime/ChangeLog
+++ b/media-libs/libquicktime/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for media-libs/libquicktime
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.5 2003/02/14 19:43:24 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.6 2003/04/01 16:41:42 agriffis Exp $
*libquicktime-0.9.2_pre1 (04 Nov 2002)
+ 01 Apr 2003; Aron Griffis <agriffis@gentoo.org>
+ libquicktime-0.9.2_pre1.ebuild:
+ Fix bug 10966 by replacing the x86-centric OPTIMIZE_CFLAGS with our on alpha.
+ Also force -j1 since this package doesn't build reliably with larger values
+
14 Feb 2003; Seemant Kulleen <seemant@gentoo.org>
libquicktime-0.9.2_pre1.ebuild :
diff --git a/media-libs/libquicktime/libquicktime-0.9.2_pre1.ebuild b/media-libs/libquicktime/libquicktime-0.9.2_pre1.ebuild
index f0643766b42a..e6ac734ce223 100644
--- a/media-libs/libquicktime/libquicktime-0.9.2_pre1.ebuild
+++ b/media-libs/libquicktime/libquicktime-0.9.2_pre1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-0.9.2_pre1.ebuild,v 1.6 2003/02/14 19:42:41 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-0.9.2_pre1.ebuild,v 1.7 2003/04/01 16:41:42 agriffis Exp $
inherit libtool eutils
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/libquicktime/${MY_P}.tar.gz"
SLOT="0"
LICENSE="LGPL-2.1"
-KEYWORDS="x86"
+KEYWORDS="x86 ~alpha"
IUSE="oggvorbis png jpeg"
@@ -30,10 +30,18 @@ src_unpack() {
cd ${S}
sed -i "s:\(have_libavcodec=\)true:\1false:g" \
configure.ac
+
+ # Fix bug 10966 by replacing the x86-centric OPTIMIZE_CFLAGS with
+ # our $CFLAGS
+ if use alpha; then
+ mv configure.ac configure.ac.old
+ awk -F= '$1=="OPTIMIZE_CFLAGS" { print $1"="cflags; next }
+ { print }' cflags="$CFLAGS" \
+ <configure.ac.old >configure.ac || die
+ fi
}
src_compile() {
-
ebegin "Regenerating configure script..."
autoconf
eend
@@ -46,7 +54,7 @@ src_compile() {
|| myconf="${myconf} --disable-mmx"
econf ${myconf}
- emake || die
+ emake -j1 || die
}
src_install() {