From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libgxim/
Date: Sun, 23 Jul 2017 13:52:53 +0000 (UTC) [thread overview]
Message-ID: <1500817957.ece04f569aec1c625db959259e3e4a20b9edf67d.hattya@gentoo> (raw)
commit: ece04f569aec1c625db959259e3e4a20b9edf67d
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 13:51:26 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 13:52:37 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ece04f56
x11-libs/libgxim: fix build
Gentoo-Bug: 623890
Package-Manager: Portage-2.3.6, Repoman-2.3.1
x11-libs/libgxim/libgxim-0.5.0.ebuild | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/x11-libs/libgxim/libgxim-0.5.0.ebuild b/x11-libs/libgxim/libgxim-0.5.0.ebuild
index a9bd005eae5..fab59de0f63 100644
--- a/x11-libs/libgxim/libgxim-0.5.0.ebuild
+++ b/x11-libs/libgxim/libgxim-0.5.0.ebuild
@@ -2,8 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
-inherit autotools ltprune
+inherit autotools ltprune ruby-single
DESCRIPTION="GObject-based XIM protocol library"
HOMEPAGE="https://tagoh.bitbucket.io/libgxim"
@@ -12,7 +13,7 @@ SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="static-libs test"
+IUSE="${USE_RUBY//ruby/ruby_targets_ruby} static-libs test"
RDEPEND="dev-libs/dbus-glib
dev-libs/glib:2
@@ -20,7 +21,7 @@ RDEPEND="dev-libs/dbus-glib
virtual/libintl
x11-libs/gtk+:2"
DEPEND="${RDEPEND}
- dev-lang/ruby
+ ${RUBY_DEPS}
dev-util/intltool
sys-devel/autoconf-archive
sys-devel/gettext
@@ -38,6 +39,14 @@ src_prepare() {
sed -i "/^ACLOCAL_AMFLAGS/,/^$/d" Makefile.am
+ local ruby
+ for ruby in ${USE_RUBY}; do
+ if use ruby_targets_${ruby}; then
+ sed -i "1s/ruby/${ruby}/" ${PN}/mkacc.rb
+ break
+ fi
+ done
+
default
eautoreconf
}
next reply other threads:[~2017-07-23 13:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-23 13:52 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-14 9:26 [gentoo-commits] repo/gentoo:master commit in: x11-libs/libgxim/ Hans de Graaff
2023-04-07 18:11 Sam James
2022-12-03 14:57 Hans de Graaff
2020-08-23 13:24 Akinori Hattori
2020-08-23 13:24 Akinori Hattori
2020-08-23 13:24 Akinori Hattori
2020-05-02 5:18 Hans de Graaff
2019-10-19 5:28 Hans de Graaff
2019-06-05 6:48 Agostino Sarubbo
2018-10-04 9:11 Naohiro Aota
2017-08-12 14:29 Akinori Hattori
2017-07-23 13:52 Akinori Hattori
2017-07-23 13:52 Akinori Hattori
2017-07-23 13:52 Akinori Hattori
2017-07-23 13:52 Akinori Hattori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1500817957.ece04f569aec1c625db959259e3e4a20b9edf67d.hattya@gentoo \
--to=hattya@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox