commit:     f93cb2a47a290eaf247c6ae7b04959262e5f314e
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  2 21:55:37 2017 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Jul  2 22:05:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93cb2a4

dev-libs/libgdata: fix automagic gtk+ detection

Triggers build failures on systems without latest gtk+.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-libs/libgdata/libgdata-0.17.8.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libgdata/libgdata-0.17.8.ebuild 
b/dev-libs/libgdata/libgdata-0.17.8.ebuild
index adc0bd60684..c62a6786bc4 100644
--- a/dev-libs/libgdata/libgdata-0.17.8.ebuild
+++ b/dev-libs/libgdata/libgdata-0.17.8.ebuild
@@ -20,7 +20,6 @@ REQUIRED_USE="
 
 KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 
-# configure checks for gtk:3, but only uses it for demos which are not 
installed
 RDEPEND="
        >=dev-libs/glib-2.38.0:2
        >=dev-libs/json-glib-0.15
@@ -46,13 +45,16 @@ src_prepare() {
 }
 
 src_configure() {
+       # configure checks for gtk:3, but only uses it for demos which are not 
installed
        gnome2_src_configure \
                $(use_enable crypt gnome) \
                $(use_enable gnome-online-accounts goa) \
                $(use_enable introspection) \
                $(use_enable vala) \
                $(use_enable static-libs static) \
-               $(use_enable test always-build-tests)
+               $(use_enable test always-build-tests) \
+               GTK_CFLAGS= \
+               GTK_LIBS=
 }
 
 src_test() {

Reply via email to