summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/lightdm/lightdm-1.18.2.ebuild6
-rw-r--r--x11-misc/lightdm/lightdm-1.19.4.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/x11-misc/lightdm/lightdm-1.18.2.ebuild b/x11-misc/lightdm/lightdm-1.18.2.ebuild
index 511958a6be84..198bbfc8466c 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 readme.gentoo-r1 systemd versionator xdg-utils
+inherit autotools eutils pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
TRUNK_VERSION="$(get_version_component_range 1-2)"
DESCRIPTION="A lightweight display manager"
@@ -60,6 +60,10 @@ src_prepare() {
"/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
data/lightdm.conf || die "Failed to fix lightdm.conf"
+ # use correct version of qmake. bug #566950
+ sed -i -e "/AC_CHECK_TOOLS(MOC4/a AC_SUBST(MOC4,$(qt4_get_bindir)/moc)" configure.ac || die
+ sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die
+
default
# Remove bogus Makefile statement. This needs to go upstream
diff --git a/x11-misc/lightdm/lightdm-1.19.4.ebuild b/x11-misc/lightdm/lightdm-1.19.4.ebuild
index 511958a6be84..198bbfc8466c 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 readme.gentoo-r1 systemd versionator xdg-utils
+inherit autotools eutils pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
TRUNK_VERSION="$(get_version_component_range 1-2)"
DESCRIPTION="A lightweight display manager"
@@ -60,6 +60,10 @@ src_prepare() {
"/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
data/lightdm.conf || die "Failed to fix lightdm.conf"
+ # use correct version of qmake. bug #566950
+ sed -i -e "/AC_CHECK_TOOLS(MOC4/a AC_SUBST(MOC4,$(qt4_get_bindir)/moc)" configure.ac || die
+ sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die
+
default
# Remove bogus Makefile statement. This needs to go upstream