commit:     7de06dc659e12cd2cbb1269fcd44c2882e72354b
Author:     Joonas Niilola <juippis <AT> gmail <DOT> com>
AuthorDate: Fri Oct 12 06:09:20 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 12 19:47:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7de06dc6

dev-libs/efl: fix build issue with 'xpresent' USE enabled for 1.21.1

Closes: https://bugs.gentoo.org/668354
Signed-off-by: Joonas Niilola <juippis <AT> gmail.com>
Package-Manager: Portage[mgorny]-2.3.49.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/efl/efl-1.21.1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-libs/efl/efl-1.21.1.ebuild b/dev-libs/efl/efl-1.21.1.ebuild
index d020ef97f29..c627b1a33b8 100644
--- a/dev-libs/efl/efl-1.21.1.ebuild
+++ b/dev-libs/efl/efl-1.21.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,6 +30,7 @@ REQUIRED_USE="
        vnc? ( X fbcon )
        wayland? ( egl gles !opengl )
        xim? ( X )
+       xpresent? ( X )
 "
 
 RDEPEND="
@@ -123,11 +124,11 @@ RDEPEND="
                        x11-libs/libX11
                        x11-libs/libXrender
                        virtual/opengl
-                       xpresent? ( x11-libs/libXpresent )
                )
        )
        xine? ( media-libs/xine-lib )
        xpm? ( x11-libs/libXpm )
+       xpresent? ( x11-libs/libXpresent )
 "
 
 DEPEND="
@@ -215,6 +216,7 @@ src_configure() {
                $(use_enable xim)
                $(use_enable xine)
                $(use_enable xpm image-loader-xpm)
+               $(use_enable xpresent)
 
                --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none))
                --with-glib=$(usex glib)
@@ -227,7 +229,6 @@ src_configure() {
        )
 
        use drm && use wayland && myconf+=( --enable-gl-drm )
-       use X && use xpresent && myconf+=( --enable-xpresent )
 
        if use opengl ; then
                myconf+=( --with-opengl=full )

Reply via email to