From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/files/, app-i18n/ibus-pinyin/
Date: Wed, 23 Aug 2017 15:02:07 +0000 (UTC) [thread overview]
Message-ID: <1503500476.ed41269477f54cf8f824beac9ce16cde7378b9bf.hattya@gentoo> (raw)
commit: ed41269477f54cf8f824beac9ce16cde7378b9bf
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 15:01:16 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 15:01:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed412694
app-i18n/ibus-pinyin: fix build with USE=boost
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch | 15 +++++++++++++++
app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild | 9 +++++++--
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch b/app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch
new file mode 100644
index 00000000000..124339e81bf
--- /dev/null
+++ b/app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch
@@ -0,0 +1,15 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -93,9 +93,9 @@
+ )
+ if test x"$enable_boost" = x"yes"; then
+ # check boost
+- BOOST_REQUIRE([1.39])
+- BOOST_FIND_HEADER([boost/bind.hpp])
+- BOOST_FIND_HEADER([boost/signals2.hpp])
++ AX_BOOST_BASE([1.39])
++ AC_CHECK_HEADERS([boost/bind.hpp])
++ AC_CHECK_HEADERS([boost/signals2.hpp])
+ fi
+ AM_CONDITIONAL(HAVE_BOOST, test x"$enable_boost" = x"yes")
+
diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
index d3d30fc7136..2f8dba36e3c 100644
--- a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
+++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
@@ -4,7 +4,7 @@
EAPI="6"
PYTHON_COMPAT=( python2_7 )
-inherit python-single-r1
+inherit autotools python-single-r1
DESCRIPTION="Chinese Pinyin and Bopomofo engines for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
@@ -26,15 +26,20 @@ RDEPEND="${PYTHON_DEPS}
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
dev-util/intltool
+ sys-devel/autoconf-archive
virtual/pkgconfig
nls? ( sys-devel/gettext )"
-PATCHES=( "${FILESDIR}"/${P}-content-type-method.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-boost.patch
+ "${FILESDIR}"/${P}-content-type-method.patch
+)
src_prepare() {
sed -i "s/python/${EPYTHON}/" setup/${PN/-/-setup-}.in
default
+ eautoreconf
}
src_configure() {
next reply other threads:[~2017-08-23 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-23 15:02 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-27 4:31 [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/files/, app-i18n/ibus-pinyin/ Yixun Lan
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=1503500476.ed41269477f54cf8f824beac9ce16cde7378b9bf.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