summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2004-10-12 13:45:53 +0000
committerAlexander Gabert <pappy@gentoo.org>2004-10-12 13:45:53 +0000
commit1c04299ad881b32c9eb57b3518e435a618516251 (patch)
tree6c526846712c9263d15621c09f9b9bdd0ac3bcb8 /media-gfx
parentStable on sparc (Manifest recommit) (diff)
downloadgentoo-2-1c04299ad881b32c9eb57b3518e435a618516251.tar.gz
gentoo-2-1c04299ad881b32c9eb57b3518e435a618516251.tar.bz2
gentoo-2-1c04299ad881b32c9eb57b3518e435a618516251.zip
repoman broken, committing directly
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gimp/ChangeLog5
-rw-r--r--media-gfx/gimp/gimp-2.0.4.ebuild15
2 files changed, 17 insertions, 3 deletions
diff --git a/media-gfx/gimp/ChangeLog b/media-gfx/gimp/ChangeLog
index ab57087d761a..493d2286b923 100644
--- a/media-gfx/gimp/ChangeLog
+++ b/media-gfx/gimp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/gimp
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.91 2004/09/08 19:02:38 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.92 2004/10/12 13:45:53 pappy Exp $
+
+ 12 Oct 2004; Alexander Gabert <pappy@gentoo.org> gimp-2.0.4.ebuild:
+ adding hardened versus mmx use flag suppression
08 Sep 2004; Guy Martin <gmsoft@gentoo.org> gimp-2.0.4.ebuild:
Stable on hppa.
diff --git a/media-gfx/gimp/gimp-2.0.4.ebuild b/media-gfx/gimp/gimp-2.0.4.ebuild
index 3487562b44e6..f2daca18dd2b 100644
--- a/media-gfx/gimp/gimp-2.0.4.ebuild
+++ b/media-gfx/gimp/gimp-2.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.0.4.ebuild,v 1.5 2004/09/22 22:47:28 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.0.4.ebuild,v 1.6 2004/10/12 13:45:53 pappy Exp $
inherit flag-o-matic libtool eutils
@@ -70,14 +70,25 @@ src_compile() {
# Workaround portage variable leakage
local AA=
+ # only use mmx if hardened is not set
+ local USE_MMX=
+
replace-flags "-march=k6*" "-march=i586"
+
# gimp uses inline functions (plug-ins/common/grid.c) (#23078)
filter-flags "-fno-inline"
+ if use hardened; then
+ ewarn "hardened use flag suppressing mmx use flag"
+ HARDENED_SUPPRESS_MMX="--disable-mmx"
+ else
+ HARDENED_SUPPRESS_MMX="`use_enable mmx`"
+ fi
+
econf \
--disable-default-binary \
--with-x \
- `use_enable mmx` \
+ "${HARDENED_SUPPRESS_MMX}" \
`use_enable sse` \
`use_enable altivec` \
`use_enable doc gtk-doc` \