commit:     31d842f837309420465aacfe18a69333b8d835d5
Author:     David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Fri Jan  8 00:14:01 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 18:33:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d842f8

xfce-base/xfce4-session: specify the runtime iceauth path

This value is just used for substitution (i.e. it is not executed),
so it can be moved from DEPEND to RDEPEND.  The configure script
would fail trying to find it in BROOT while DEPEND installed it in
SYSROOT.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-base/xfce4-session/xfce4-session-4.16.0.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/xfce-base/xfce4-session/xfce4-session-4.16.0.ebuild 
b/xfce-base/xfce4-session/xfce4-session-4.16.0.ebuild
index 8d006dbb328..d0e08959ff1 100644
--- a/xfce-base/xfce4-session/xfce4-session-4.16.0.ebuild
+++ b/xfce-base/xfce4-session/xfce4-session-4.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,8 +14,7 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="nls policykit +xscreensaver"
 
-DEPEND="x11-apps/iceauth
-       >=dev-libs/glib-2.50
+DEPEND=">=dev-libs/glib-2.50
        >=x11-libs/gtk+-3.22:3
        x11-libs/libSM
        x11-libs/libwnck:3
@@ -25,6 +24,7 @@ DEPEND="x11-apps/iceauth
        >=xfce-base/xfconf-4.12:=
        policykit? ( >=sys-auth/polkit-0.102 )"
 RDEPEND="${DEPEND}
+       x11-apps/iceauth
        x11-apps/xrdb
        nls? ( x11-misc/xdg-user-dirs )
        xscreensaver? ( || (
@@ -50,6 +50,7 @@ src_configure() {
        local myconf=(
                $(use_enable policykit polkit)
                --with-xsession-prefix="${EPREFIX}"/usr
+               ICEAUTH="${EPREFIX}"/usr/bin/iceauth
        )
 
        econf "${myconf[@]}"

Reply via email to