summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2006-03-04 20:42:24 +0000
committerAndreas Proschofsky <suka@gentoo.org>2006-03-04 20:42:24 +0000
commitb761ac6eac5fd33077dbec15ac9c5c1eca236152 (patch)
treeeb16849a470ea765baf5c6880a1e86239bc81243 /app-office
parentMarked stable on x86 (diff)
downloadgentoo-2-b761ac6eac5fd33077dbec15ac9c5c1eca236152.tar.gz
gentoo-2-b761ac6eac5fd33077dbec15ac9c5c1eca236152.tar.bz2
gentoo-2-b761ac6eac5fd33077dbec15ac9c5c1eca236152.zip
Some reshuffling and a better LINGUAS-check, see bug #124997
(Portage version: 2.1_pre5-r3)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice/ChangeLog6
-rw-r--r--app-office/openoffice/openoffice-2.0.2_rc4.ebuild37
2 files changed, 23 insertions, 20 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog
index d2ce25515a53..66aeea57c265 100644
--- a/app-office/openoffice/ChangeLog
+++ b/app-office/openoffice/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/openoffice
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.189 2006/03/04 06:24:52 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.190 2006/03/04 20:42:24 suka Exp $
+
+ 04 Mar 2006; Andreas Proschofsky <suka@gentoo.org>
+ openoffice-2.0.2_rc4.ebuild:
+ Some reshuffling and a better LINGUAS-check, see bug #124997
*openoffice-2.0.2_rc4 (04 Mar 2006)
diff --git a/app-office/openoffice/openoffice-2.0.2_rc4.ebuild b/app-office/openoffice/openoffice-2.0.2_rc4.ebuild
index b289cec4b932..c14b8d17bee9 100644
--- a/app-office/openoffice/openoffice-2.0.2_rc4.ebuild
+++ b/app-office/openoffice/openoffice-2.0.2_rc4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.2_rc4.ebuild,v 1.1 2006/03/04 06:24:52 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.2_rc4.ebuild,v 1.2 2006/03/04 20:42:24 suka Exp $
inherit eutils fdo-mime flag-o-matic kde-functions toolchain-funcs
@@ -114,10 +114,8 @@ pkg_setup() {
ewarn " To get a localized build, set the according LINGUAS variable(s). "
ewarn
else
- export LINGUAS_OOO="${LINGUAS//en/en_US}"
- export LINGUAS_OOO="${LINGUAS_OOO//en_US_GB/en_GB}"
- export LINGUAS_OOO="${LINGUAS_OOO//en_US_US/en_US}"
- export LINGUAS_OOO="${LINGUAS_OOO//_/-}"
+ export LINGUAS_OOO=`echo ${LINGUAS} | \
+ sed -e 's/\ben\b/en_US/g' -e 's/_/-/g'`
fi
if use !java; then
@@ -181,6 +179,20 @@ src_compile() {
export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"`
fi
+ # Compile problems with these ...
+ filter-flags "-funroll-loops"
+ filter-flags "-fomit-frame-pointer"
+ filter-flags "-fprefetch-loop-arrays"
+ filter-flags "-fno-default-inline"
+ filter-flags "-fstack-protector"
+ filter-flags "-ftracer"
+ append-flags "-fno-strict-aliasing"
+ replace-flags "-O3" "-O2"
+ replace-flags "-Os" "-O2"
+
+ # Now for our optimization flags ...
+ export ARCH_FLAGS="${CFLAGS}"
+
# Make sure gnome-users get gtk-support
export GTKFLAG="`use_enable gtk`" && use gnome && GTKFLAG="--enable-gtk"
@@ -209,20 +221,6 @@ src_compile() {
--mandir=/usr/share/man \
|| die "Configuration failed!"
- # Compile problems with these ...
- filter-flags "-funroll-loops"
- filter-flags "-fomit-frame-pointer"
- filter-flags "-fprefetch-loop-arrays"
- filter-flags "-fno-default-inline"
- filter-flags "-fstack-protector"
- filter-flags "-ftracer"
- append-flags "-fno-strict-aliasing"
- replace-flags "-O3" "-O2"
- replace-flags "-Os" "-O2"
-
- # Now for our optimization flags ...
- export ARCH_FLAGS="${CFLAGS}"
-
einfo "Building OpenOffice.org..."
use kde && set-kdedir 3
make || die "Build failed"
@@ -255,4 +253,5 @@ pkg_postinst() {
einfo
einfo " oobase2, oocalc2, oodraw2, oofromtemplate2, ooimpress2, oomath2,"
einfo " ooweb2 or oowriter2"
+
}