From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC5321396D1 for ; Wed, 23 Aug 2017 15:02:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0382F1FC060; Wed, 23 Aug 2017 15:02:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2B881FC060 for ; Wed, 23 Aug 2017 15:02:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1D5D341B2A for ; Wed, 23 Aug 2017 15:02:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25D977FE4 for ; Wed, 23 Aug 2017 15:02:07 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1503500476.ed41269477f54cf8f824beac9ce16cde7378b9bf.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/files/, app-i18n/ibus-pinyin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild X-VCS-Directories: app-i18n/ibus-pinyin/ app-i18n/ibus-pinyin/files/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: ed41269477f54cf8f824beac9ce16cde7378b9bf X-VCS-Branch: master Date: Wed, 23 Aug 2017 15:02:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e022be63-c782-42b1-9475-776cf14143dd X-Archives-Hash: 57cd7b7c0e8457233250abe0ac4bbb32 commit: ed41269477f54cf8f824beac9ce16cde7378b9bf Author: Akinori Hattori gentoo org> AuthorDate: Wed Aug 23 15:01:16 2017 +0000 Commit: Akinori Hattori gentoo 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() {