summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Portnoy <avenj@gentoo.org>2004-03-08 20:45:05 +0000
committerJon Portnoy <avenj@gentoo.org>2004-03-08 20:45:05 +0000
commit0d525cf24081d585851141fe6a72413f4413b04b (patch)
tree8910ed5ed5b6108e255fb60579797420c7773982
parentAMD64 keywords (Manifest recommit) (diff)
downloadgentoo-2-0d525cf24081d585851141fe6a72413f4413b04b.tar.gz
gentoo-2-0d525cf24081d585851141fe6a72413f4413b04b.tar.bz2
gentoo-2-0d525cf24081d585851141fe6a72413f4413b04b.zip
AMD64 keywords
-rw-r--r--media-libs/libddmpeg/ChangeLog5
-rw-r--r--media-libs/libddmpeg/libddmpeg-1.6.ebuild7
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"
}