summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/efl/efl-1.11.2.ebuild')
-rw-r--r--dev-libs/efl/efl-1.11.2.ebuild11
1 files changed, 10 insertions, 1 deletions
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)