diff options
Diffstat (limited to 'app-i18n/ibus-pinyin')
-rw-r--r-- | app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch | 15 | ||||
-rw-r--r-- | 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 000000000000..124339e81bf2 --- /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 d3d30fc71362..2f8dba36e3c9 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() { |