commit:     f0d2ab301cd6aa2e9fef4c7646f6e73eeb8db3e7
Author:     Tomáš Čech <sleep_walker <AT> suse <DOT> cz>
AuthorDate: Thu Oct  2 15:45:02 2014 +0000
Commit:     Ralph Sennhauser <sera <AT> gentoo <DOT> org>
CommitDate: Thu Oct  2 18:00:40 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/sera.git;a=commit;h=f0d2ab30

efl: drm require systemd, when there is no systemd, don't build drm engine

---
 dev-libs/efl/efl-1.11.2.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-libs/efl/efl-1.11.2.ebuild b/dev-libs/efl/efl-1.11.2.ebuild
index a202c6b..c83b6ba 100644
--- a/dev-libs/efl/efl-1.11.2.ebuild
+++ b/dev-libs/efl/efl-1.11.2.ebuild
@@ -138,10 +138,19 @@ src_configure() {
                $(use_enable wayland)
        )
 
+       if use drm && use systemd; then
+               config+=(
+                       $(use_enable drm)
+               )
+       else
+               einfo "You cannot build DRM support without systemd support, 
disabling drm engine"
+               config+=(
+                       --disable-drm
+               )
+       fi
        config+=(
                $(use_enable avahi)
                $(use_enable cxx c++11)
-               $(use_enable drm)
                $(use_enable doc)
                $(use_enable fbcon fb)
                $(use_enable fontconfig)

Reply via email to