summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/lightdm/lightdm-1.18.2.ebuild4
-rw-r--r--x11-misc/lightdm/lightdm-1.19.4.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/x11-misc/lightdm/lightdm-1.18.2.ebuild b/x11-misc/lightdm/lightdm-1.18.2.ebuild
index 198bbfc8466c..4d381c3f7af2 100644
--- a/x11-misc/lightdm/lightdm-1.18.2.ebuild
+++ b/x11-misc/lightdm/lightdm-1.18.2.ebuild
@@ -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 \
diff --git a/x11-misc/lightdm/lightdm-1.19.4.ebuild b/x11-misc/lightdm/lightdm-1.19.4.ebuild
index 198bbfc8466c..4d381c3f7af2 100644
--- a/x11-misc/lightdm/lightdm-1.19.4.ebuild
+++ b/x11-misc/lightdm/lightdm-1.19.4.ebuild
@@ -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 \