summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-09-22 12:39:04 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-09-22 12:39:04 +0000
commitedc64cb23dc6bc514eab1280db5b62972691eac8 (patch)
tree64742dd49cc7265973e5d887fac09c9c84c07bfb /app-office/libreoffice
parentDo not use the blank file in the filesdir. (diff)
downloadgentoo-2-edc64cb23dc6bc514eab1280db5b62972691eac8.tar.gz
gentoo-2-edc64cb23dc6bc514eab1280db5b62972691eac8.tar.bz2
gentoo-2-edc64cb23dc6bc514eab1280db5b62972691eac8.zip
Goodbye to custom-cflags, cleanup a bit.
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r--app-office/libreoffice/ChangeLog6
-rw-r--r--app-office/libreoffice/libreoffice-9999-r1.ebuild27
2 files changed, 9 insertions, 24 deletions
diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog
index e9b475018f1c..558429ab0566 100644
--- a/app-office/libreoffice/ChangeLog
+++ b/app-office/libreoffice/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/libreoffice
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.143 2011/09/22 11:00:54 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.144 2011/09/22 12:39:04 scarabeus Exp $
+
+ 22 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ libreoffice-9999-r1.ebuild:
+ Goodbye to custom-cflags, cleanup a bit.
22 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org>
libreoffice-9999-r1.ebuild:
diff --git a/app-office/libreoffice/libreoffice-9999-r1.ebuild b/app-office/libreoffice/libreoffice-9999-r1.ebuild
index b6239c6935f0..2ed3332315df 100644
--- a/app-office/libreoffice/libreoffice-9999-r1.ebuild
+++ b/app-office/libreoffice/libreoffice-9999-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r1.ebuild,v 1.19 2011/09/22 11:00:54 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r1.ebuild,v 1.20 2011/09/22 12:39:04 scarabeus Exp $
EAPI=3
@@ -98,9 +98,8 @@ unset ADDONS_URI
unset EXT_URI
unset ADDONS_SRC
-IUSE="binfilter +branding custom-cflags dbus debug eds gnome graphite
-gstreamer gtk jemalloc kde ldap mysql nsplugin odk opengl svg templates test
-+vba webdav"
+IUSE="binfilter +branding dbus debug eds gnome +graphite gstreamer gtk +jemalloc
+kde ldap mysql nsplugin odk opengl svg templates test +vba webdav"
LICENSE="LGPL-3"
SLOT="0"
[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
@@ -244,15 +243,6 @@ pkg_setup() {
die "Too old gcc found."
fi
- if use custom-cflags; then
- ewarn "You are using custom CFLAGS, which is NOT supported and can cause"
- ewarn "all sorts of build and runtime errors."
- ewarn
- ewarn "Before reporting a bug, please make sure you rebuild and try with"
- ewarn "basic CFLAGS, otherwise the bug will not be accepted."
- ewarn
- fi
-
if ! use gtk; then
ewarn "If you want the LibreOffice systray quickstarter to work"
ewarn "activate the 'gtk' use flag."
@@ -319,13 +309,7 @@ src_unpack() {
src_prepare() {
# optimization flags
export ARCH_FLAGS="${CXXFLAGS}"
- use debug || export LINKFLAGSOPTIMIZE="${LDFLAGS}"
-
- # compiler flags
- use custom-cflags || strip-flags
- use debug || filter-flags "-g*"
- # silent miscompiles; LO/OOo adds -O2/1/0 where appropriate
- filter-flags "-O*"
+ export LINKFLAGSOPTIMIZE="${LDFLAGS}"
base_src_prepare
eautoreconf
@@ -499,9 +483,6 @@ src_install() {
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN} || die
rm -rf "${ED}"/etc/
- # hack fix the gdb printers upstream!
- rm -rf "${ED}"/var/
-
# symlink the plugin to system location
if use nsplugin; then
inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so