summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-06 11:30:00 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-07 08:14:10 +0200
commit0cdb994d82ec4f3dd046c6c5d0e675b63922f0ee (patch)
treec98c9862f55698e111242ecfccb9f05acea1f421 /dev-ruby/ruby-gtk2
parentnet-misc/miniupnpd: Clean old up (diff)
downloadgentoo-0cdb994d82ec4f3dd046c6c5d0e675b63922f0ee.tar.gz
gentoo-0cdb994d82ec4f3dd046c6c5d0e675b63922f0ee.tar.bz2
gentoo-0cdb994d82ec4f3dd046c6c5d0e675b63922f0ee.zip
dev-ruby/ruby-gtk2: fix build issue
Explicitly add gtk-2.0 include path. This should be fixed more comprehensively in later versions of ruby-gtk2. Closes: https://bugs.gentoo.org/616682 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/ruby-gtk2')
-rw-r--r--dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild b/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild
index b4ad55f0eef8..d8b8c016fe68 100644
--- a/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild
+++ b/dev-ruby/ruby-gtk2/ruby-gtk2-3.1.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24"
inherit virtualx ruby-ng-gnome2
@@ -26,6 +26,9 @@ all_ruby_prepare() {
# Use standard icon
sed -i -e 's/"find"/"call-start"/' test/test_gtk_icon_theme.rb || die
+
+ # Fix search path for gtk-2.0 on Gentoo
+ sed -i -e "/include_paths =/ s:]$:,'/usr/include/gtk-2.0']:" ext/gtk2/extconf.rb || die
}
each_ruby_test() {