summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2006-09-15 02:36:00 +0000
committerSteve Arnold <nerdboy@gentoo.org>2006-09-15 02:36:00 +0000
commite939c84bc02dea92dfc92eea4090608718d6467c (patch)
treecb51519f9f4de996539af770f543c4e951ba047a /app-doc/doxygen
parentadd a comment as to the reason for the filter (diff)
downloadgentoo-2-e939c84bc02dea92dfc92eea4090608718d6467c.tar.gz
gentoo-2-e939c84bc02dea92dfc92eea4090608718d6467c.tar.bz2
gentoo-2-e939c84bc02dea92dfc92eea4090608718d6467c.zip
added fix for bug 147298 (filtering out O3)
(Portage version: 2.1.1)
Diffstat (limited to 'app-doc/doxygen')
-rw-r--r--app-doc/doxygen/ChangeLog6
-rw-r--r--app-doc/doxygen/doxygen-1.4.7.ebuild15
2 files changed, 18 insertions, 3 deletions
diff --git a/app-doc/doxygen/ChangeLog b/app-doc/doxygen/ChangeLog
index 31672e7ea263..131a44b30365 100644
--- a/app-doc/doxygen/ChangeLog
+++ b/app-doc/doxygen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-doc/doxygen
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.115 2006/09/14 00:30:53 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/ChangeLog,v 1.116 2006/09/15 02:36:00 nerdboy Exp $
+
+ 15 Sep 2006; Steve Arnold <nerdboy@gentoo.org> doxygen-1.4.7.ebuild:
+ added fix for bug 147298 (using flag-o-matic), since -O3 still produces
+ broken code...
14 Sep 2006; Danny van Dyk <kugelfang@gentoo.org> doxygen-1.4.7.ebuild:
Marked stable on amd64 wrt bug #138397.
diff --git a/app-doc/doxygen/doxygen-1.4.7.ebuild b/app-doc/doxygen/doxygen-1.4.7.ebuild
index 843ea7b6f68c..725569166072 100644
--- a/app-doc/doxygen/doxygen-1.4.7.ebuild
+++ b/app-doc/doxygen/doxygen-1.4.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.4.7.ebuild,v 1.12 2006/09/14 00:30:53 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.4.7.ebuild,v 1.13 2006/09/15 02:36:00 nerdboy Exp $
-inherit eutils toolchain-funcs qt3
+inherit eutils flag-o-matic toolchain-funcs qt3
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
HOMEPAGE="http://www.doxygen.org/"
@@ -35,6 +35,17 @@ src_unpack() {
# Consolidate patches, apply FreeBSD configure patch, codepage patch,
# qtools stuff, and patches for bugs 129142, 121770, and 129560.
epatch ${FILESDIR}/${PV}
+
+ if is-flagq "-O3" ; then
+ echo
+ ewarn "Compiling with -O3 is known to produce incorrectly"
+ ewarn "optimized code which breaks doxygen."
+ echo
+ epause 6
+ einfo "Continuing with -O2 instead ..."
+ echo
+ replace-flags "-O3" "-O2"
+ fi
}
src_compile() {