summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2004-05-07 14:40:14 +0000
committerAndreas Proschofsky <suka@gentoo.org>2004-05-07 14:40:14 +0000
commit216890a49f14a80e8d2b5cb1d11f8897818ceacd (patch)
tree06ab0aa18f8a8bc66b706b58923dd6d3dc40f44e /app-office/openoffice
parentversion bump and remove old version (Manifest recommit) (diff)
downloadgentoo-2-216890a49f14a80e8d2b5cb1d11f8897818ceacd.tar.gz
gentoo-2-216890a49f14a80e8d2b5cb1d11f8897818ceacd.tar.bz2
gentoo-2-216890a49f14a80e8d2b5cb1d11f8897818ceacd.zip
Move CFLAGS filtering stuff inside of src_unpack
Diffstat (limited to 'app-office/openoffice')
-rw-r--r--app-office/openoffice/openoffice-1.1.0-r4.ebuild26
-rw-r--r--app-office/openoffice/openoffice-1.1.0-r5.ebuild26
-rw-r--r--app-office/openoffice/openoffice-1.1.1-r1.ebuild26
3 files changed, 39 insertions, 39 deletions
diff --git a/app-office/openoffice/openoffice-1.1.0-r4.ebuild b/app-office/openoffice/openoffice-1.1.0-r4.ebuild
index 7aa01a2e121a..c16e29565f68 100644
--- a/app-office/openoffice/openoffice-1.1.0-r4.ebuild
+++ b/app-office/openoffice/openoffice-1.1.0-r4.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/app-office/openoffice/openoffice-1.1.0-r4.ebuild,v 1.3 2004/05/05 10:41:56 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-1.1.0-r4.ebuild,v 1.4 2004/05/07 14:40:14 suka Exp $
# IMPORTANT: This is extremely alpha!!!
@@ -26,19 +26,8 @@
# Get support going for installing a custom language pack. Also
# need to be able to install more than one language pack.
-inherit flag-o-matic eutils
-# Compile problems with these ...
-filter-flags "-funroll-loops"
-filter-flags "-fomit-frame-pointer"
-filter-flags "-fprefetch-loop-arrays"
-filter-flags "-fno-default-inline"
-append-flags "-fno-strict-aliasing"
-replace-flags "-O3" "-O2"
+inherit flag-o-matic eutils gcc
-# Enable Bytecode Interpreter for freetype ...
-append-flags "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
-
-inherit gcc
# We want gcc3 if possible!!!!
export WANT_GCC_3="yes"
@@ -299,6 +288,17 @@ src_unpack() {
# einfo "Removing crashrep from the installed set"
# sed -i -e "s,\(crashrep \),," ${S}/instsetoo/prj/build.lst
+ # Compile problems with these ...
+ filter-flags "-funroll-loops"
+ filter-flags "-fomit-frame-pointer"
+ filter-flags "-fprefetch-loop-arrays"
+ filter-flags "-fno-default-inline"
+ append-flags "-fno-strict-aliasing"
+ replace-flags "-O3" "-O2"
+
+ # Enable Bytecode Interpreter for freetype ...
+ append-flags "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
+
if [ "$(gcc-version)" == "3.2" ]; then
einfo "You use a buggy gcc, so replacing -march=pentium4 with -march=pentium3"
replace-flags "-march=pentium4" "-march=pentium3 -mcpu=pentium4"
diff --git a/app-office/openoffice/openoffice-1.1.0-r5.ebuild b/app-office/openoffice/openoffice-1.1.0-r5.ebuild
index 25669ad0377d..2abf8b34addb 100644
--- a/app-office/openoffice/openoffice-1.1.0-r5.ebuild
+++ b/app-office/openoffice/openoffice-1.1.0-r5.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/app-office/openoffice/openoffice-1.1.0-r5.ebuild,v 1.3 2004/05/05 10:41:56 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-1.1.0-r5.ebuild,v 1.4 2004/05/07 14:40:14 suka Exp $
# IMPORTANT: This is extremely alpha!!!
@@ -28,18 +28,6 @@
inherit flag-o-matic eutils gcc
-# Compile problems with these ...
-filter-flags "-funroll-loops"
-filter-flags "-fomit-frame-pointer"
-filter-flags "-fprefetch-loop-arrays"
-filter-flags "-fno-default-inline"
-append-flags "-fno-strict-aliasing"
-replace-flags "-O3" "-O2"
-replace-flags "-Os" "-O2"
-
-# Enable Bytecode Interpreter for freetype ...
-append-flags "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
-
# We want gcc3 if possible!!!!
export WANT_GCC_3="yes"
@@ -276,6 +264,18 @@ src_unpack() {
#Security fix
epatch ${FILESDIR}/${PV}/neon.patch
+ # Compile problems with these ...
+ filter-flags "-funroll-loops"
+ filter-flags "-fomit-frame-pointer"
+ filter-flags "-fprefetch-loop-arrays"
+ filter-flags "-fno-default-inline"
+ append-flags "-fno-strict-aliasing"
+ replace-flags "-O3" "-O2"
+ replace-flags "-Os" "-O2"
+
+ # Enable Bytecode Interpreter for freetype ...
+ append-flags "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
+
if [ "$(gcc-version)" == "3.2" ]; then
einfo "You use a buggy gcc, so replacing -march=pentium4 with -march=pentium3"
replace-flags "-march=pentium4" "-march=pentium3 -mcpu=pentium4"
diff --git a/app-office/openoffice/openoffice-1.1.1-r1.ebuild b/app-office/openoffice/openoffice-1.1.1-r1.ebuild
index ce1a2f65a8fa..d3af721ea529 100644
--- a/app-office/openoffice/openoffice-1.1.1-r1.ebuild
+++ b/app-office/openoffice/openoffice-1.1.1-r1.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/app-office/openoffice/openoffice-1.1.1-r1.ebuild,v 1.3 2004/05/05 10:41:56 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-1.1.1-r1.ebuild,v 1.4 2004/05/07 14:40:14 suka Exp $
# IMPORTANT: This is extremely alpha!!!
@@ -28,18 +28,6 @@
inherit flag-o-matic eutils gcc
-# Compile problems with these ...
-filter-flags "-funroll-loops"
-filter-flags "-fomit-frame-pointer"
-filter-flags "-fprefetch-loop-arrays"
-filter-flags "-fno-default-inline"
-append-flags "-fno-strict-aliasing"
-replace-flags "-O3" "-O2"
-replace-flags "-Os" "-O2"
-
-# Enable Bytecode Interpreter for freetype ...
-append-flags "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
-
# We want gcc3 if possible!!!!
export WANT_GCC_3="yes"
@@ -278,6 +266,18 @@ src_unpack() {
#Security fix
epatch ${FILESDIR}/${PV}/neon.patch
+ # Compile problems with these ...
+ filter-flags "-funroll-loops"
+ filter-flags "-fomit-frame-pointer"
+ filter-flags "-fprefetch-loop-arrays"
+ filter-flags "-fno-default-inline"
+ append-flags "-fno-strict-aliasing"
+ replace-flags "-O3" "-O2"
+ replace-flags "-Os" "-O2"
+
+ # Enable Bytecode Interpreter for freetype ...
+ append-flags "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
+
if [ "$(gcc-version)" == "3.2" ]; then
einfo "You use a buggy gcc, so replacing -march=pentium4 with -march=pentium3"
replace-flags "-march=pentium4" "-march=pentium3 -mcpu=pentium4"