diff options
author | Sam James <sam@gentoo.org> | 2023-02-14 22:54:02 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-14 23:03:54 +0000 |
commit | f9a9748f86abc864e6b23b2526b0e66dd9e30899 (patch) | |
tree | a825ad473c2d3f9c7527a70313e63cf573a57176 /app-text/mecab/mecab-0.996-r1.ebuild | |
parent | app-emulation/aranym: fix build w/ clang 16 (diff) | |
download | gentoo-f9a9748f86abc864e6b23b2526b0e66dd9e30899.tar.gz gentoo-f9a9748f86abc864e6b23b2526b0e66dd9e30899.tar.bz2 gentoo-f9a9748f86abc864e6b23b2526b0e66dd9e30899.zip |
app-text/mecab: fix build w/ clang 16
Closes: https://bugs.gentoo.org/894362
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/mecab/mecab-0.996-r1.ebuild')
-rw-r--r-- | app-text/mecab/mecab-0.996-r1.ebuild | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/app-text/mecab/mecab-0.996-r1.ebuild b/app-text/mecab/mecab-0.996-r1.ebuild index cc47b0f8bc48..9eb02cee3b92 100644 --- a/app-text/mecab/mecab-0.996-r1.ebuild +++ b/app-text/mecab/mecab-0.996-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 inherit autotools @@ -14,16 +14,24 @@ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" IUSE="static-libs unicode" -DEPEND="dev-lang/perl +BDEPEND=" + dev-lang/perl sys-devel/gettext - virtual/libiconv" -RDEPEND="" -PDEPEND="|| ( +" +DEPEND="virtual/libiconv" +RDEPEND="${DEPEND}" +PDEPEND=" + || ( app-dicts/mecab-ipadic[unicode=] app-dicts/mecab-naist-jdic[unicode=] - )" + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.98-iconv.patch + "${FILESDIR}"/${PN}-0.996-clang-16-register.patch +) -PATCHES=( "${FILESDIR}"/${PN}-0.98-iconv.patch ) HTML_DOCS=( doc/. ) src_prepare() { |