summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-04-24 14:10:27 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-04-24 14:10:27 +0000
commit8118c52492b4767ad4d629d336f2a630cbef6b72 (patch)
tree04397b4e263cc4a1390ea808230ddfcb2e2ba68f /kde-misc/kcollectd
parentwhitespace (diff)
downloadgentoo-2-8118c52492b4767ad4d629d336f2a630cbef6b72.tar.gz
gentoo-2-8118c52492b4767ad4d629d336f2a630cbef6b72.tar.bz2
gentoo-2-8118c52492b4767ad4d629d336f2a630cbef6b72.zip
Honor CXXFLAGS, bug 363947
(Portage version: 2.1.9.46/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-misc/kcollectd')
-rw-r--r--kde-misc/kcollectd/ChangeLog6
-rw-r--r--kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch10
-rw-r--r--kde-misc/kcollectd/kcollectd-0.9.ebuild4
3 files changed, 18 insertions, 2 deletions
diff --git a/kde-misc/kcollectd/ChangeLog b/kde-misc/kcollectd/ChangeLog
index 854ea5900521..345e8fbee095 100644
--- a/kde-misc/kcollectd/ChangeLog
+++ b/kde-misc/kcollectd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-misc/kcollectd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcollectd/ChangeLog,v 1.7 2011/04/11 21:23:20 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcollectd/ChangeLog,v 1.8 2011/04/24 14:10:27 dilfridge Exp $
+
+ 24 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ kcollectd-0.9.ebuild, +files/kcollectd-0.9-cflags.patch:
+ Honor CXXFLAGS, bug 363947
11 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org>
kcollectd-0.9.ebuild:
diff --git a/kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch b/kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch
new file mode 100644
index 000000000000..702c588d367e
--- /dev/null
+++ b/kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch
@@ -0,0 +1,10 @@
+diff -ruN kcollectd-0.9.orig/kcollectd/CMakeLists.txt kcollectd-0.9/kcollectd/CMakeLists.txt
+--- kcollectd-0.9.orig/kcollectd/CMakeLists.txt 2009-11-30 22:01:54.000000000 +0100
++++ kcollectd-0.9/kcollectd/CMakeLists.txt 2011-04-24 15:35:21.596229942 +0200
+@@ -1,5 +1,5 @@
+
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAG} ${KDE4_ENABLE_EXCEPTIONS}")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+
+ find_package(Boost COMPONENTS filesystem system)
+
diff --git a/kde-misc/kcollectd/kcollectd-0.9.ebuild b/kde-misc/kcollectd/kcollectd-0.9.ebuild
index 2906a5614eb6..4bfd2ca64cb7 100644
--- a/kde-misc/kcollectd/kcollectd-0.9.ebuild
+++ b/kde-misc/kcollectd/kcollectd-0.9.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/kde-misc/kcollectd/kcollectd-0.9.ebuild,v 1.7 2011/04/11 21:23:20 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcollectd/kcollectd-0.9.ebuild,v 1.8 2011/04/24 14:10:27 dilfridge Exp $
EAPI=3
@@ -21,6 +21,8 @@ DEPEND="dev-libs/boost
RDEPEND="${DEPEND}
|| ( app-admin/collectd[collectd_plugins_rrdtool] app-admin/collectd[collectd_plugins_rrdcached] )"
+PATCHES=( "${FILESDIR}/${P}-cflags.patch" )
+
src_prepare() {
# Working around the eclass linguas magic is way more complicated than just
# force-enabling de. The files are organized differently here, and when the eclass