diff options
-rw-r--r-- | media-libs/libddmpeg/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/libddmpeg/libddmpeg-1.6.ebuild | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/media-libs/libddmpeg/ChangeLog b/media-libs/libddmpeg/ChangeLog index d4714007c70f..74c038b64980 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.2 2004/02/07 16:32:24 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libddmpeg/ChangeLog,v 1.3 2004/03/08 20:45:05 avenj Exp $ + + 08 Mar 2004; Jon Portnoy <avenj@gentoo.org> libddmpeg-1.6.ebuild : + A little messy hackery to compile on AMD64. *libddmpeg-1.6 (07 Feb 2004) diff --git a/media-libs/libddmpeg/libddmpeg-1.6.ebuild b/media-libs/libddmpeg/libddmpeg-1.6.ebuild index 31650890e8e5..b09456dc54f4 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.1 2004/02/07 16:32:24 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libddmpeg/libddmpeg-1.6.ebuild,v 1.2 2004/03/08 20:45:05 avenj Exp $ inherit flag-o-matic @@ -10,13 +10,16 @@ SRC_URI="http://www.ivor.it/cle266/${P}.tar.gz" SLOT="0" LICENSE="as-is" -KEYWORDS="~x86 -*" +KEYWORDS="~x86 ~amd64 -*" src_compile() { local cpu="`get-flag march || get-flag mcpu`" 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" emake || die "compile problem" } |