summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-10-31 18:52:29 +0000
committerTravis Tilley <lv@gentoo.org>2004-10-31 18:52:29 +0000
commit6a0218198b7c6a77ef4c07f672c089f51e03343b (patch)
treef8ab32842ca030ba613f3e3db05f9ceaf511175d /media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
parentStable on ppc. (Manifest recommit) (diff)
downloadgentoo-2-6a0218198b7c6a77ef4c07f672c089f51e03343b.tar.gz
gentoo-2-6a0218198b7c6a77ef4c07f672c089f51e03343b.tar.bz2
gentoo-2-6a0218198b7c6a77ef4c07f672c089f51e03343b.zip
added a fix for bug 69227
Diffstat (limited to 'media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild')
-rw-r--r--media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
index 6889d7cb3311..ec30778efe06 100644
--- a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
+++ b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild,v 1.13 2004/09/25 23:32:39 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild,v 1.14 2004/10/31 18:52:29 lv Exp $
inherit eutils libtool flag-o-matic
@@ -40,11 +40,16 @@ src_unpack() {
src_compile() {
elibtoolize
+
+ # x86 asm + 64bit binary == no worky (fixes bug 69227)
+ use amd64 && myconf="--disable-accel-detect"
+
econf \
--enable-shared \
--disable-dependency-tracking \
`use_enable sdl` \
`use_with X x` \
+ ${myconf} \
|| die
# builds non-pic library by default? (bug #44934)
emake LIBMPEG2_CFLAGS= || die "emake failed"