summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-22 13:53:56 +0100
committerJustin Lecher <jlec@gentoo.org>2015-12-22 13:54:08 +0100
commit468d9d066b6d43ca11d9433068297688f88c77a4 (patch)
tree9e5bcb81aa06101ddc03b77528a925748dceec20 /sys-apps/gsmartcontrol
parentsys-power/apcupsd: Removed old. (diff)
downloadgentoo-468d9d066b6d43ca11d9433068297688f88c77a4.tar.gz
gentoo-468d9d066b6d43ca11d9433068297688f88c77a4.tar.bz2
gentoo-468d9d066b6d43ca11d9433068297688f88c77a4.zip
sys-apps/gsmartcontrol: Add std=c++11 to CXXFLAGS for latest dev-libs/libsigc++
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-apps/gsmartcontrol')
-rw-r--r--sys-apps/gsmartcontrol/gsmartcontrol-0.8.7.ebuild7
-rw-r--r--sys-apps/gsmartcontrol/metadata.xml18
2 files changed, 15 insertions, 10 deletions
diff --git a/sys-apps/gsmartcontrol/gsmartcontrol-0.8.7.ebuild b/sys-apps/gsmartcontrol/gsmartcontrol-0.8.7.ebuild
index 053a68bd3fed..9fa1694f3a60 100644
--- a/sys-apps/gsmartcontrol/gsmartcontrol-0.8.7.ebuild
+++ b/sys-apps/gsmartcontrol/gsmartcontrol-0.8.7.ebuild
@@ -3,7 +3,8 @@
# $Id$
EAPI=4
-inherit gnome2-utils
+
+inherit flag-o-matic gnome2-utils
DESCRIPTION="Hard disk drive health inspection tool"
HOMEPAGE="http://gsmartcontrol.sourceforge.net/home/"
@@ -25,6 +26,10 @@ DEPEND="${COMMON_DEPEND}
DOCS="TODO" # See 'dist_doc_DATA' value in Makefile.am
+src_prepare() {
+ append-cxxflags -std=c++11
+}
+
src_configure() {
econf \
--docdir=/usr/share/doc/${PF} \
diff --git a/sys-apps/gsmartcontrol/metadata.xml b/sys-apps/gsmartcontrol/metadata.xml
index ca8078571df8..9d109ee85cd1 100644
--- a/sys-apps/gsmartcontrol/metadata.xml
+++ b/sys-apps/gsmartcontrol/metadata.xml
@@ -1,11 +1,11 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>base-system</herd>
-<maintainer>
- <email>ssuominen@gentoo.org</email>
-</maintainer>
-<upstream>
- <remote-id type='sourceforge'>gsmartcontrol</remote-id>
-</upstream>
+ <herd>base-system</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gsmartcontrol</remote-id>
+ </upstream>
</pkgmetadata>