summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-09-29 03:22:41 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-09-29 03:27:08 +1000
commit982352bbef9975f795c521bea2f06bf2771ecf06 (patch)
tree6feac9ac15cc59a8774df72ebfcf947caf6c2c86
parentx11-misc/lightdm: ensure the correct version of qmake is used (diff)
downloadgentoo-982352bbef9975f795c521bea2f06bf2771ecf06.tar.gz
gentoo-982352bbef9975f795c521bea2f06bf2771ecf06.tar.bz2
gentoo-982352bbef9975f795c521bea2f06bf2771ecf06.zip
x11-misc/lightdm: fix build with Qt 5.7
Gentoo-bug: 585378 Package-Manager: portage-2.3.1
-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 \