diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-07-20 22:54:47 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-07-20 22:54:47 +0900 |
commit | c7e47bac3c5bf63d21eef66fbc1ba4a7abe90db4 (patch) | |
tree | 5934cd94fa2d8e0cfb7f84c0b6a14d6f2dafdc5c /app-text | |
parent | app-text/mecab: update HOMEPAGE and SRC_URI (diff) | |
download | gentoo-c7e47bac3c5bf63d21eef66fbc1ba4a7abe90db4.tar.gz gentoo-c7e47bac3c5bf63d21eef66fbc1ba4a7abe90db4.tar.bz2 gentoo-c7e47bac3c5bf63d21eef66fbc1ba4a7abe90db4.zip |
app-text/mecab: update to EAPI 6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/mecab/mecab-0.996.ebuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/app-text/mecab/mecab-0.996.ebuild b/app-text/mecab/mecab-0.996.ebuild index 07dbb45ea0ca..bbe997169300 100644 --- a/app-text/mecab/mecab-0.996.ebuild +++ b/app-text/mecab/mecab-0.996.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI="6" inherit autotools eutils @@ -22,12 +22,17 @@ PDEPEND="|| ( app-dicts/mecab-naist-jdic[unicode=] )" +PATCHES=( "${FILESDIR}"/${PN}-0.98-iconv.patch ) +HTML_DOCS=( doc/. ) + src_prepare() { + default sed -i \ -e "/CFLAGS/s/-O3/${CFLAGS}/" \ -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \ configure.in || die - epatch "${FILESDIR}/${PN}-0.98-iconv.patch" + + mv configure.{in,ac} eautoreconf } @@ -39,8 +44,6 @@ src_configure() { src_install() { default - dodoc AUTHORS README - dohtml -r doc/* - - use static-libs || find "${ED}" -name '*.la' -delete + find "${ED}" -name 'Makefile*' -delete || die + use static-libs || find "${ED}" -name '*.la' -delete || die } |