summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2004-06-06 19:58:02 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2004-06-06 19:58:02 +0000
commit2e2b0aaea056a7b0ffe3f67be88f5566c0c4b5be (patch)
treed5419fadb117589eb36334e8bfe424d31d4821c1 /media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
parentSparc me like a hurricane. (Manifest recommit) (diff)
downloadgentoo-2-2e2b0aaea056a7b0ffe3f67be88f5566c0c4b5be.tar.gz
gentoo-2-2e2b0aaea056a7b0ffe3f67be88f5566c0c4b5be.tar.bz2
gentoo-2-2e2b0aaea056a7b0ffe3f67be88f5566c0c4b5be.zip
Fixed a compilation-error when Altivec is disabled on PowerPC.
Diffstat (limited to 'media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild')
-rw-r--r--media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild
index 45a5eb7f051e..72fbba8c4726 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 Technologies, Inc.
# 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.6 2004/04/12 03:21:48 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild,v 1.7 2004/06/06 19:58:02 hansmi Exp $
inherit libtool flag-o-matic
@@ -30,6 +30,9 @@ src_unpack() {
sed -i \
-e 's:OPT_CFLAGS=\"$CFLAGS -mcpu=.*\":OPT_CFLAGS=\"$CFLAGS\":g' \
configure || die "sed configure failed"
+
+ epatch "${FILESDIR}/altivec-fix-${PV}.diff"
+ autoreconf
}
src_compile() {