diff options
author | Jon Portnoy <avenj@gentoo.org> | 2004-03-08 20:45:05 +0000 |
---|---|---|
committer | Jon Portnoy <avenj@gentoo.org> | 2004-03-08 20:45:05 +0000 |
commit | 0d525cf24081d585851141fe6a72413f4413b04b (patch) | |
tree | 8910ed5ed5b6108e255fb60579797420c7773982 /media-libs/libddmpeg/libddmpeg-1.6.ebuild | |
parent | AMD64 keywords (Manifest recommit) (diff) | |
download | gentoo-2-0d525cf24081d585851141fe6a72413f4413b04b.tar.gz gentoo-2-0d525cf24081d585851141fe6a72413f4413b04b.tar.bz2 gentoo-2-0d525cf24081d585851141fe6a72413f4413b04b.zip |
AMD64 keywords
Diffstat (limited to 'media-libs/libddmpeg/libddmpeg-1.6.ebuild')
-rw-r--r-- | media-libs/libddmpeg/libddmpeg-1.6.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
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" } |