summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-26 20:09:22 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-26 20:09:22 +0000
commit6ec386ab458df58d86085b65957912692fb39981 (patch)
tree9530d6b253b75c2c856863174cb6ed84628f9dc0 /media-libs
parentstable x86, bug #148261 (diff)
downloadgentoo-2-6ec386ab458df58d86085b65957912692fb39981.tar.gz
gentoo-2-6ec386ab458df58d86085b65957912692fb39981.tar.bz2
gentoo-2-6ec386ab458df58d86085b65957912692fb39981.zip
Remove misc hacks that are no longer needed with the fix from #156252.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmpeg2/ChangeLog7
-rw-r--r--media-libs/libmpeg2/libmpeg2-0.4.1.ebuild26
2 files changed, 14 insertions, 19 deletions
diff --git a/media-libs/libmpeg2/ChangeLog b/media-libs/libmpeg2/ChangeLog
index a221ea46155b..e2838c6e1ca6 100644
--- a/media-libs/libmpeg2/ChangeLog
+++ b/media-libs/libmpeg2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libmpeg2
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.53 2006/11/26 13:37:15 aballier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.54 2006/11/26 20:09:22 vapier Exp $
+
+ 26 Nov 2006; Mike Frysinger <vapier@gentoo.org> libmpeg2-0.4.1.ebuild:
+ Remove misc hacks that are no longer needed with the fix from #156252.
26 Nov 2006; Alexis Ballier <aballier@gentoo.org> libmpeg2-0.4.0b.ebuild,
libmpeg2-0.4.1.ebuild:
diff --git a/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild
index 3d499d5ae145..24431eab80f2 100644
--- a/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild
+++ b/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild
@@ -1,10 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild,v 1.3 2006/11/26 13:37:15 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.1.ebuild,v 1.4 2006/11/26 20:09:22 vapier Exp $
-WANT_AUTOMAKE="latest"
-WANT_AUTOCONF="latest"
-inherit eutils flag-o-matic autotools libtool
+inherit eutils libtool
MY_P="mpeg2dec-${PV}"
DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
@@ -31,19 +29,10 @@ src_unpack() {
unpack ${A}
cd "${S}"
- use alpha && append-flags -fPIC
-
- # get rid of the -mcpu
- sed -i \
- -e '/-mcpu/d' \
- configure.in \
- || die "sed configure failed"
-
# Fix problem that the test for external symbols
# uses nm which also displays hidden symbols. Bug #130831
- epatch "${FILESDIR}/${P}-use-readelf-for-test.patch"
+ epatch "${FILESDIR}"/${P}-use-readelf-for-test.patch
- eautoreconf
elibtoolize
}
@@ -55,11 +44,14 @@ src_compile() {
$(use_with X x) \
${myconf} \
|| die
- # builds non-pic library by default? (bug #44934)
- emake OPT_CFLAGS="${CFLAGS}" MPEG2DEC_CFLAGS="${CFLAGS}" LIBMPEG2_CFLAGS= || die "emake failed"
+ emake \
+ OPT_CFLAGS="${CFLAGS}" \
+ MPEG2DEC_CFLAGS="${CFLAGS}" \
+ LIBMPEG2_CFLAGS="" \
+ || die "emake failed"
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README TODO
}