diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-08-23 23:45:42 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-08-23 23:49:33 +0900 |
commit | 245f2bc647bd138151e2adce7c89bd816589d97c (patch) | |
tree | a8e5a5798bccc853caaabae2b644a9071e188c2e /app-i18n/pyzy | |
parent | app-i18n/pyzy: update SRC_URI (diff) | |
download | gentoo-245f2bc647bd138151e2adce7c89bd816589d97c.tar.gz gentoo-245f2bc647bd138151e2adce7c89bd816589d97c.tar.bz2 gentoo-245f2bc647bd138151e2adce7c89bd816589d97c.zip |
app-i18n/pyzy: fix build with USE=boost
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/pyzy')
-rw-r--r-- | app-i18n/pyzy/files/pyzy-boost.patch | 15 | ||||
-rw-r--r-- | app-i18n/pyzy/pyzy-0.1.0-r2.ebuild | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/app-i18n/pyzy/files/pyzy-boost.patch b/app-i18n/pyzy/files/pyzy-boost.patch new file mode 100644 index 000000000000..34acacfbc9ba --- /dev/null +++ b/app-i18n/pyzy/files/pyzy-boost.patch @@ -0,0 +1,15 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -143,9 +143,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/pyzy/pyzy-0.1.0-r2.ebuild b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild index 6ad508a8b2f9..980f4f596c0e 100644 --- a/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild +++ b/app-i18n/pyzy/pyzy-0.1.0-r2.ebuild @@ -25,9 +25,11 @@ RDEPEND="dev-db/sqlite:3 opencc? ( app-i18n/opencc:= )" DEPEND="${RDEPEND} ${PYTHON_DEPS} + sys-devel/autoconf-archive doc? ( app-doc/doxygen )" PATCHES=( + "${FILESDIR}"/${PN}-boost.patch "${FILESDIR}"/${PN}-db.patch "${FILESDIR}"/${PN}-opencc-1.0.0.patch ) |