mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/log4cplus: Force C++11
Closes: https://bugs.gentoo.org/648714 Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user