summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-10 11:42:48 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-10 11:42:48 +0000
commit945259133a1f43aef700e6a4ab235eff1bea57c2 (patch)
tree36f30713d4d7fbd4ab13e8b7f8deb50ee5f5ac13 /media-libs
parentsupport for Xaw3d (diff)
downloadgentoo-2-945259133a1f43aef700e6a4ab235eff1bea57c2.tar.gz
gentoo-2-945259133a1f43aef700e6a4ab235eff1bea57c2.tar.bz2
gentoo-2-945259133a1f43aef700e6a4ab235eff1bea57c2.zip
k6 fixes
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/jpeg-mmx/ChangeLog7
-rw-r--r--media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild13
2 files changed, 16 insertions, 4 deletions
diff --git a/media-libs/jpeg-mmx/ChangeLog b/media-libs/jpeg-mmx/ChangeLog
index 5a18d57db3ff..c7966d4f26bd 100644
--- a/media-libs/jpeg-mmx/ChangeLog
+++ b/media-libs/jpeg-mmx/ChangeLog
@@ -1,11 +1,16 @@
# ChangeLog for media-libs/jpeg-mmx
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/ChangeLog,v 1.5 2003/02/12 07:08:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/ChangeLog,v 1.6 2003/03/10 11:42:48 seemant Exp $
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*jpeg-mmx-1.1.2-r1 (08 Jul 2002)
+
+ 10 Mar 2003; Seemant Kulleen <seemant@gentoo.org> jpeg-mmx-1.1.2-r1.ebuild:
+ fixes for k6 architectures and -fomit-frame-pointer, thanks to: Mark McKenna
+ <lanatha@kasmir.org> in bug #15559
+
08 Jul 2002; Spider <spider@gentoo.org> jpeg-mmx-1.1.2-r1.ebuild :
change so the .la file doesn't contain the ${D} path.
update to latest portage rules
diff --git a/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild b/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild
index 90b625dfd71a..a66afef4e743 100644
--- a/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild
+++ b/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild,v 1.7 2003/02/13 12:46:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild,v 1.8 2003/03/10 11:42:48 seemant Exp $
-inherit libtool
+inherit libtool flag-o-matic
S=${WORKDIR}/jpeg-mmx
DESCRIPTION="JPEG library with mmx enhancements"
@@ -16,10 +16,17 @@ KEYWORDS="x86 -ppc -sparc "
DEPEND="virtual/glibc"
src_compile() {
+ # Doesn't work with -fomit-frame-pointer, at least not on k6-2.
+ # Someone mentioned that this may be a k6 issue only; I have
+ # just a k6-2 to test it on, so I'll just adjust it for the
+ # machine I can test.
+ is-flag "-march=k6-3" && strip-flags "-fomit-frame-pointer"
+ is-flag "-march=k6-2" && strip-flags "-fomit-frame-pointer"
+ is-flag "-march=k6" && strip-flags "-fomit-frame-pointer"
+
elibtoolize
econf --enable-shared || die "configure failed"
emake || die "make failed"
-
}
src_install() {