diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2006-09-15 02:36:00 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2006-09-15 02:36:00 +0000 |
commit | 7586025e7046a00e304951c0920dbdf87b5c8b94 (patch) | |
tree | 0bc898cb8128abb413add54c123b07f577e1cf8b /app-doc/doxygen/doxygen-1.4.7.ebuild | |
parent | add a comment as to the reason for the filter (diff) | |
download | historical-7586025e7046a00e304951c0920dbdf87b5c8b94.tar.gz historical-7586025e7046a00e304951c0920dbdf87b5c8b94.tar.bz2 historical-7586025e7046a00e304951c0920dbdf87b5c8b94.zip |
added fix for bug 147298 (filtering out O3)
Package-Manager: portage-2.1.1
Diffstat (limited to 'app-doc/doxygen/doxygen-1.4.7.ebuild')
-rw-r--r-- | app-doc/doxygen/doxygen-1.4.7.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
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() { |