From 7861025368f964a5258f2105aed2d3a09f86ef34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 3 Jun 2004 10:22:15 +0000 Subject: [PATCH] fixed libddmpeg brokenness on x86, fixes bug #52799 --- media-libs/libddmpeg/ChangeLog | 5 ++++- media-libs/libddmpeg/Manifest | 4 ++-- media-libs/libddmpeg/libddmpeg-1.6.ebuild | 8 +++++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/media-libs/libddmpeg/ChangeLog b/media-libs/libddmpeg/ChangeLog index 74c038b64980..430818377e8d 100644 --- a/media-libs/libddmpeg/ChangeLog +++ b/media-libs/libddmpeg/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libddmpeg # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libddmpeg/ChangeLog,v 1.3 2004/03/08 20:45:05 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libddmpeg/ChangeLog,v 1.4 2004/06/03 10:22:15 tester Exp $ + + 03 Jun 2004; libddmpeg-1.6.ebuild: + The amd64 test broke building on x86, fixed bug #52799. Also mpu != march. 08 Mar 2004; Jon Portnoy libddmpeg-1.6.ebuild : A little messy hackery to compile on AMD64. diff --git a/media-libs/libddmpeg/Manifest b/media-libs/libddmpeg/Manifest index 5d34937773ab..76128df9b7e9 100644 --- a/media-libs/libddmpeg/Manifest +++ b/media-libs/libddmpeg/Manifest @@ -1,4 +1,4 @@ -MD5 e189e0c157cc6307eba07e717c332635 ChangeLog 584 +MD5 d43d42a334fcdb6f7e2d948e10e49768 libddmpeg-1.6.ebuild 1154 +MD5 89eaac2c202d643999712b716b715e32 ChangeLog 720 MD5 20e2255501865de5b568424821abf69d metadata.xml 161 -MD5 6506443a430c0a7d86339ebbb029167a libddmpeg-1.6.ebuild 1158 MD5 d1788f494a9b92493a3a4662b9516442 files/digest-libddmpeg-1.6 64 diff --git a/media-libs/libddmpeg/libddmpeg-1.6.ebuild b/media-libs/libddmpeg/libddmpeg-1.6.ebuild index b09456dc54f4..d0eb6e1253fc 100644 --- a/media-libs/libddmpeg/libddmpeg-1.6.ebuild +++ b/media-libs/libddmpeg/libddmpeg-1.6.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/libddmpeg/libddmpeg-1.6.ebuild,v 1.2 2004/03/08 20:45:05 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libddmpeg/libddmpeg-1.6.ebuild,v 1.3 2004/06/03 10:22:15 tester Exp $ inherit flag-o-matic @@ -13,13 +13,15 @@ LICENSE="as-is" KEYWORDS="~x86 ~amd64 -*" src_compile() { - local cpu="`get-flag march || get-flag mcpu`" + local cpu="`get-flag march`" if [ -n "${cpu}" ] ; then sed -e "s:-march=i386:-march=${cpu}:" -i "Makefile" || die "sed failed" fi # We don't want -march=i386 but we do want -fPIC. Quick swap... # - avenj@gentoo.org (8 Mar 04) - use amd64 && sed -e "s:-march=i386:-fPIC:" -i "Makefile" || die "sed failed" + if use amd64; then + sed -e "s:-march=i386:-fPIC:" -i "Makefile" || die "sed failed" + fi emake || die "compile problem" } -- 2.26.2