summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-05-26 13:20:34 +0200
committerDavid Seifert <soap@gentoo.org>2018-05-26 14:22:31 +0200
commit0972d3fbe34fee062f582a880a1490a349877afa (patch)
tree3fa8adf2eb92b48fb6478016921e1136c8501a85 /dev-libs/log4cplus/log4cplus-1.2.0.ebuild
parentapp-text/writerperfect: Force C++11 (diff)
downloadgentoo-0972d3fbe34fee062f582a880a1490a349877afa.tar.gz
gentoo-0972d3fbe34fee062f582a880a1490a349877afa.tar.bz2
gentoo-0972d3fbe34fee062f582a880a1490a349877afa.zip
dev-libs/log4cplus: Force C++11
Closes: https://bugs.gentoo.org/648714 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-libs/log4cplus/log4cplus-1.2.0.ebuild')
-rw-r--r--dev-libs/log4cplus/log4cplus-1.2.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild b/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
index bb4a84c08d97..07cf88b00eb3 100644
--- a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
+++ b/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit flag-o-matic
+
DESCRIPTION="C++ port of the Log for Java (log4j) logging library"
HOMEPAGE="http://log4cplus.sourceforge.net/ https://github.com/log4cplus/log4cplus"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}-stable/${PV}/${P}.tar.bz2"
@@ -24,6 +26,10 @@ DEPEND="${RDEPEND}
PATCHES=( "${FILESDIR}/${PN}-1.2.0-fix-c++14.patch" )
src_configure() {
+ # bug 648714
+ # Qt5 now requires C++11
+ append-cxxflags -std=c++11
+
econf \
--disable-static \
$(use_with iconv) \