x11-misc/lightdm: fix build with Qt 5.7
authorMichael Palimaka <kensington@gentoo.org>
Wed, 28 Sep 2016 17:22:41 +0000 (03:22 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 28 Sep 2016 17:27:08 +0000 (03:27 +1000)
Gentoo-bug: 585378

Package-Manager: portage-2.3.1

x11-misc/lightdm/lightdm-1.18.2.ebuild
x11-misc/lightdm/lightdm-1.19.4.ebuild

index 198bbfc8466c4a9f1c0487686d9b85a683f9b785..4d381c3f7af280cbe21e19364d9ef0df389970dd 100644 (file)
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-inherit autotools eutils pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
+inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
 
 TRUNK_VERSION="$(get_version_component_range 1-2)"
 DESCRIPTION="A lightweight display manager"
@@ -87,6 +87,8 @@ src_configure() {
        einfo "Default session: ${_session}"
        einfo "Greeter user: ${_user}"
 
+       use qt5 && append-cxxflags -std=c++11
+
        # also disable tests because libsystem.c does not build. Tests are
        # restricted so it does not matter anyway.
        econf \
index 198bbfc8466c4a9f1c0487686d9b85a683f9b785..4d381c3f7af280cbe21e19364d9ef0df389970dd 100644 (file)
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-inherit autotools eutils pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
+inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
 
 TRUNK_VERSION="$(get_version_component_range 1-2)"
 DESCRIPTION="A lightweight display manager"
@@ -87,6 +87,8 @@ src_configure() {
        einfo "Default session: ${_session}"
        einfo "Greeter user: ${_user}"
 
+       use qt5 && append-cxxflags -std=c++11
+
        # also disable tests because libsystem.c does not build. Tests are
        # restricted so it does not matter anyway.
        econf \