diff options
author | David Seifert <soap@gentoo.org> | 2022-07-03 12:31:17 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-03 12:31:17 +0200 |
commit | 1e5ea4d7bd02731503da24aff5e46b2f052178da (patch) | |
tree | 949d0a0a2a9ce9201eb5f38594a5b148b437b63d /dev-libs/link-grammar | |
parent | dev-python/logutils: Add a test dep on redis server as well (diff) | |
download | gentoo-1e5ea4d7bd02731503da24aff5e46b2f052178da.tar.gz gentoo-1e5ea4d7bd02731503da24aff5e46b2f052178da.tar.bz2 gentoo-1e5ea4d7bd02731503da24aff5e46b2f052178da.zip |
dev-libs/link-grammar: always use libpcre2 for regex
Closes: https://bugs.gentoo.org/838004
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/link-grammar')
-rw-r--r-- | dev-libs/link-grammar/link-grammar-5.10.5-r1.ebuild (renamed from dev-libs/link-grammar/link-grammar-5.10.5.ebuild) | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-libs/link-grammar/link-grammar-5.10.5.ebuild b/dev-libs/link-grammar/link-grammar-5.10.5-r1.ebuild index 9cd72d301f29..a09907476a00 100644 --- a/dev-libs/link-grammar/link-grammar-5.10.5.ebuild +++ b/dev-libs/link-grammar/link-grammar-5.10.5-r1.ebuild @@ -14,14 +14,14 @@ SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0/5" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="aspell +hunspell python" # pcre +IUSE="aspell +hunspell python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # XXX: sqlite is automagic # Does not build with >=sci-mathematics/minisat-2, bug #593662 -# add pcre support: pcre? ( dev-libs/libpcre ) RDEPEND=" dev-db/sqlite:3 + dev-libs/libpcre2:= aspell? ( app-text/aspell ) hunspell? ( app-text/hunspell ) python? ( ${PYTHON_DEPS} ) @@ -54,13 +54,11 @@ my_src_configure() { # java is hopelessly broken, invokes maven at build time (bug #806157) --disable-java-bindings --disable-perl-bindings - --disable-static --enable-sat-solver=bundled + --with-regexlib=pcre2 $(use_enable aspell) $(use_enable hunspell) $(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell) - # $(use_enable pcre regex-tokenizer) - # $(use_with pcre) ) econf \ |